Plugin Directory

Changeset 3142001


Ignore:
Timestamp:
08/27/2024 03:20:32 AM (17 months ago)
Author:
g5theme
Message:

Released version 5.0.5

  • Remove link author property
Location:
essential-real-estate/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • essential-real-estate/trunk/CHANGELOG.md

    r3138823 r3142001  
    11Changelog
    22=========
     3### 5.0.5 - August 27, 2024
     4* Remove link author property
     5
    36### 5.0.4 - August 21, 2024
    47* Fix: issue don't display action hidden in page my-property
  • essential-real-estate/trunk/essential-real-estate.php

    r3138823 r3142001  
    44 * Plugin URI: https://wordpress.org/plugins/essential-real-estate
    55 * Description: The latest plugins Real Estate you want. Completely all features, easy customize and override layout, functions. Supported global payment, build market, single, list property, single agent...etc. All fields are defined dynamic, they will help you can build any kind of Real Estate website.
    6  * Version: 5.0.4
     6 * Version: 5.0.5
    77 * Author: G5Theme
    88 * Author URI: http://themeforest.net/user/g5theme
     
    2929
    3030if (!defined('ERE_PLUGIN_VER')) {
    31     define('ERE_PLUGIN_VER', '5.0.4');
     31    define('ERE_PLUGIN_VER', '5.0.5');
    3232}
    3333if (!defined('ERE_PLUGIN_FILE')) {
  • essential-real-estate/trunk/includes/functions/property.php

    r3123067 r3142001  
    391391            $agent_name = $user_info->first_name . ' ' . $user_info->last_name;
    392392        }
    393 
    394         $author_agent_id = get_the_author_meta( ERE_METABOX_PREFIX . 'author_agent_id', $user_id );
    395         $agent_status    = get_post_status( $author_agent_id );
    396         if ( $agent_status == 'publish' ) {
     393        if ( !empty($author_agent_id) && (get_post_status( $author_agent_id ) == 'publish') ) {
    397394            $agent_link = get_the_permalink( $author_agent_id );
    398395        } else {
    399             $agent_link = get_author_posts_url( $user_id );
     396            $agent_link = '#';
    400397        }
    401398
     
    473470
    474471        $author_agent_id = get_the_author_meta( ERE_METABOX_PREFIX . 'author_agent_id', $user_id );
    475         $agent_status    = get_post_status( $author_agent_id );
    476         if ($agent_status == 'publish') {
     472        if (!empty($author_agent_id) && (get_post_status( $author_agent_id ) == 'publish') ) {
    477473            $agent_position = esc_html__( 'Property Agent', 'essential-real-estate' );
    478474            $agent_type = esc_html__( 'Agent', 'essential-real-estate' );
     
    481477            $agent_position = esc_html__( 'Property Seller', 'essential-real-estate' );
    482478            $agent_type = esc_html__( 'Seller', 'essential-real-estate' );
    483             $agent_link = get_author_posts_url($user_id);
     479            $agent_link = '#';
    484480        }
    485481
  • essential-real-estate/trunk/public/class-ere-public.php

    r3138823 r3142001  
    472472                $find[] = $file;
    473473                $find[] = ERE()->template_path() . $file;
    474             } elseif (is_author()) {
     474            }
     475            /*elseif (is_author()) {
    475476                $file = 'author.php';
    476477                $find[] = $file;
    477478                $find[] = ERE()->template_path() . $file;
    478             }
     479            }*/
    479480
    480481            if ($file) {
  • essential-real-estate/trunk/readme.txt

    r3138823 r3142001  
    55Requires at least: 4.5
    66Tested up to: 6.5.4
    7 Stable tag: 5.0.4
     7Stable tag: 5.0.5
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9999
    100100== Changelog ==
     101= 5.0.5 =
     102* Remove link author property
     103
    101104= 5.0.4 =
    102105* Fix: issue don't display action hidden in page my-property
Note: See TracChangeset for help on using the changeset viewer.