Changeset 3049692
- Timestamp:
- 03/12/2024 10:45:07 AM (5 months ago)
- Location:
- directorist
- Files:
-
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
directorist/tags/7.8.6/config.php
r3034459 r3049692 1 1 <?php 2 2 // Plugin version. 3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8. 5' );}3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8.' );} 4 4 // Plugin Folder Path. 5 5 if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); } -
directorist/tags/7.8.6/directorist-base.php
r3034459 r3049692 4 4 * Plugin URI: https://wpwax.com 5 5 * Description: A comprehensive solution to create professional looking directory site of any kind. Like Yelp, Foursquare, etc. 6 * Version: 7.8. 56 * Version: 7.8. 7 7 * Author: wpWax 8 8 * Author URI: https://wpwax.com … … 676 676 /** 677 677 * Deprecated: 7.8.0 678 * 678 * 679 679 * This function is deprecated since version 7.8.0. Please use parse_video() instead. 680 680 * … … 684 684 * @deprecated Use parse_video() for video parsing. 685 685 */ 686 public function atbdp_parse_videos( $url ) { 686 public function atbdp_parse_videos( $url ) { 687 687 _deprecated_function( __METHOD__, '7.8.0', 'Directorist\Helper::parse_video()' ); 688 688 -
directorist/tags/7.8.6/includes/classes/class-upgrade.php
r3029920 r3049692 41 41 42 42 public function promo_banner(){ 43 if (! self::is_pro_user() ) {43 if ! self::is_pro_user() ) { 44 44 ATBDP()->load_template( 'admin-templates/admin-promo-banner' ); 45 45 } 46 46 } 47 47 48 49 50 51 48 52 public function bfcm_notice() { 49 if ( !current_user_can( 'manage_options' ) ) { 50 return; 51 } 52 53 if( self::is_pro_user() ) { 53 if ( ! self::can_manage_plugins() || self::is_pro_user() ) { 54 54 return; 55 55 } … … 119 119 } 120 120 121 public function upgrade_notice() 122 { 123 if (!current_user_can('administrator')) return; 121 public function upgrade_notice() { 122 if ( ! self::can_manage_plugins() ) { 123 return; 124 } 124 125 125 if( '7.0' !== ATBDP_VERSION ) return; 126 if ( '7.0' !== ATBDP_VERSION ) { 127 return; 128 } 126 129 127 if ( get_user_meta( get_current_user_id(), $this->upgrade_notice_id, true ) || ! empty( $this->directorist_migration[ $this->upgrade_notice_id ] ) ) return; 130 if ( get_user_meta( get_current_user_id(), $this->upgrade_notice_id, true ) || ! empty( $this->directorist_migration[ $this->upgrade_notice_id ] ) ) { 131 return; 132 } 128 133 129 134 $text = ''; … … 144 149 } 145 150 146 public function configure_notices(){ 151 public function configure_notices() { 152 if ( ! self::can_manage_plugins() ) { 153 return; 154 } 147 155 148 156 $this->directorist_notices = get_option( 'directorist_notices' ); … … 158 166 $this->directorist_notices[ $this->legacy_notice_id ] = 1; 159 167 update_option( 'directorist_notices', $this->directorist_notices ); 160 161 168 } 162 169 -
directorist/tags/7.8.6/includes/model/ListingDashboard.php
r3029920 r3049692 189 189 $listing_img = get_post_meta($id, '_listing_img', true); 190 190 191 if ( is_array( $listing_img ) && ! empty( $listing_img ) ) {191 if ( is_array( $listing_img ) && ! empty( $listing_img ) ) { 192 192 $thumbnail_img = atbdp_get_image_source( $listing_img[0], $image_quality ); 193 193 $thumbnail_id = $listing_img[0]; -
directorist/tags/7.8.6/readme.txt
r3034459 r3049692 6 6 Tested up to: 6.4 7 7 Requires PHP: 7.0 8 Stable tag: 7.8. 58 Stable tag: 7.8. 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 411 411 == Changelog == 412 412 413 414 415 416 417 413 418 7.8.5 - Feb 12, 2024 414 419 … … 516 521 * Fix - Publish Date Issue when Importing Listings 517 522 * Fix - Typo Issue in Users REST API 518 * Fix - Image Size Issue in Single Listing Slider 523 * Fix - Image Size Issue in Single Listing Slider 519 524 * Fix - Listing Count Issue in All Categories & Locations Page 520 525 * Fix - PHP 8 Deprecated Notices 521 * Fix - inlineEditPost JS Console Error 526 * Fix - inlineEditPost JS Console Error 522 527 523 528 7.5.5 - Jun 01, 2023 -
directorist/trunk/config.php
r3034459 r3049692 1 1 <?php 2 2 // Plugin version. 3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8. 5' );}3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.8.' );} 4 4 // Plugin Folder Path. 5 5 if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); } -
directorist/trunk/directorist-base.php
r3034459 r3049692 4 4 * Plugin URI: https://wpwax.com 5 5 * Description: A comprehensive solution to create professional looking directory site of any kind. Like Yelp, Foursquare, etc. 6 * Version: 7.8. 56 * Version: 7.8. 7 7 * Author: wpWax 8 8 * Author URI: https://wpwax.com … … 676 676 /** 677 677 * Deprecated: 7.8.0 678 * 678 * 679 679 * This function is deprecated since version 7.8.0. Please use parse_video() instead. 680 680 * … … 684 684 * @deprecated Use parse_video() for video parsing. 685 685 */ 686 public function atbdp_parse_videos( $url ) { 686 public function atbdp_parse_videos( $url ) { 687 687 _deprecated_function( __METHOD__, '7.8.0', 'Directorist\Helper::parse_video()' ); 688 688 -
directorist/trunk/includes/classes/class-upgrade.php
r3029920 r3049692 41 41 42 42 public function promo_banner(){ 43 if (! self::is_pro_user() ) {43 if ! self::is_pro_user() ) { 44 44 ATBDP()->load_template( 'admin-templates/admin-promo-banner' ); 45 45 } 46 46 } 47 47 48 49 50 51 48 52 public function bfcm_notice() { 49 if ( !current_user_can( 'manage_options' ) ) { 50 return; 51 } 52 53 if( self::is_pro_user() ) { 53 if ( ! self::can_manage_plugins() || self::is_pro_user() ) { 54 54 return; 55 55 } … … 119 119 } 120 120 121 public function upgrade_notice() 122 { 123 if (!current_user_can('administrator')) return; 121 public function upgrade_notice() { 122 if ( ! self::can_manage_plugins() ) { 123 return; 124 } 124 125 125 if( '7.0' !== ATBDP_VERSION ) return; 126 if ( '7.0' !== ATBDP_VERSION ) { 127 return; 128 } 126 129 127 if ( get_user_meta( get_current_user_id(), $this->upgrade_notice_id, true ) || ! empty( $this->directorist_migration[ $this->upgrade_notice_id ] ) ) return; 130 if ( get_user_meta( get_current_user_id(), $this->upgrade_notice_id, true ) || ! empty( $this->directorist_migration[ $this->upgrade_notice_id ] ) ) { 131 return; 132 } 128 133 129 134 $text = ''; … … 144 149 } 145 150 146 public function configure_notices(){ 151 public function configure_notices() { 152 if ( ! self::can_manage_plugins() ) { 153 return; 154 } 147 155 148 156 $this->directorist_notices = get_option( 'directorist_notices' ); … … 158 166 $this->directorist_notices[ $this->legacy_notice_id ] = 1; 159 167 update_option( 'directorist_notices', $this->directorist_notices ); 160 161 168 } 162 169 -
directorist/trunk/includes/model/ListingDashboard.php
r3029920 r3049692 189 189 $listing_img = get_post_meta($id, '_listing_img', true); 190 190 191 if ( is_array( $listing_img ) && ! empty( $listing_img ) ) {191 if ( is_array( $listing_img ) && ! empty( $listing_img ) ) { 192 192 $thumbnail_img = atbdp_get_image_source( $listing_img[0], $image_quality ); 193 193 $thumbnail_id = $listing_img[0]; -
directorist/trunk/readme.txt
r3034459 r3049692 6 6 Tested up to: 6.4 7 7 Requires PHP: 7.0 8 Stable tag: 7.8. 58 Stable tag: 7.8. 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 411 411 == Changelog == 412 412 413 414 415 416 417 413 418 7.8.5 - Feb 12, 2024 414 419 … … 516 521 * Fix - Publish Date Issue when Importing Listings 517 522 * Fix - Typo Issue in Users REST API 518 * Fix - Image Size Issue in Single Listing Slider 523 * Fix - Image Size Issue in Single Listing Slider 519 524 * Fix - Listing Count Issue in All Categories & Locations Page 520 525 * Fix - PHP 8 Deprecated Notices 521 * Fix - inlineEditPost JS Console Error 526 * Fix - inlineEditPost JS Console Error 522 527 523 528 7.5.5 - Jun 01, 2023
Note: See TracChangeset
for help on using the changeset viewer.