Changeset 3142001
- Timestamp:
- 08/27/2024 03:20:32 AM (17 months ago)
- Location:
- essential-real-estate/trunk
- Files:
-
- 5 edited
-
CHANGELOG.md (modified) (1 diff)
-
essential-real-estate.php (modified) (2 diffs)
-
includes/functions/property.php (modified) (3 diffs)
-
public/class-ere-public.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
essential-real-estate/trunk/CHANGELOG.md
r3138823 r3142001 1 1 Changelog 2 2 ========= 3 ### 5.0.5 - August 27, 2024 4 * Remove link author property 5 3 6 ### 5.0.4 - August 21, 2024 4 7 * Fix: issue don't display action hidden in page my-property -
essential-real-estate/trunk/essential-real-estate.php
r3138823 r3142001 4 4 * Plugin URI: https://wordpress.org/plugins/essential-real-estate 5 5 * 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. 46 * Version: 5.0.5 7 7 * Author: G5Theme 8 8 * Author URI: http://themeforest.net/user/g5theme … … 29 29 30 30 if (!defined('ERE_PLUGIN_VER')) { 31 define('ERE_PLUGIN_VER', '5.0. 4');31 define('ERE_PLUGIN_VER', '5.0.5'); 32 32 } 33 33 if (!defined('ERE_PLUGIN_FILE')) { -
essential-real-estate/trunk/includes/functions/property.php
r3123067 r3142001 391 391 $agent_name = $user_info->first_name . ' ' . $user_info->last_name; 392 392 } 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') ) { 397 394 $agent_link = get_the_permalink( $author_agent_id ); 398 395 } else { 399 $agent_link = get_author_posts_url( $user_id );396 $agent_link = '#'; 400 397 } 401 398 … … 473 470 474 471 $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') ) { 477 473 $agent_position = esc_html__( 'Property Agent', 'essential-real-estate' ); 478 474 $agent_type = esc_html__( 'Agent', 'essential-real-estate' ); … … 481 477 $agent_position = esc_html__( 'Property Seller', 'essential-real-estate' ); 482 478 $agent_type = esc_html__( 'Seller', 'essential-real-estate' ); 483 $agent_link = get_author_posts_url($user_id);479 $agent_link = '#'; 484 480 } 485 481 -
essential-real-estate/trunk/public/class-ere-public.php
r3138823 r3142001 472 472 $find[] = $file; 473 473 $find[] = ERE()->template_path() . $file; 474 } elseif (is_author()) { 474 } 475 /*elseif (is_author()) { 475 476 $file = 'author.php'; 476 477 $find[] = $file; 477 478 $find[] = ERE()->template_path() . $file; 478 } 479 }*/ 479 480 480 481 if ($file) { -
essential-real-estate/trunk/readme.txt
r3138823 r3142001 5 5 Requires at least: 4.5 6 6 Tested up to: 6.5.4 7 Stable tag: 5.0. 47 Stable tag: 5.0.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 99 99 100 100 == Changelog == 101 = 5.0.5 = 102 * Remove link author property 103 101 104 = 5.0.4 = 102 105 * Fix: issue don't display action hidden in page my-property
Note: See TracChangeset
for help on using the changeset viewer.