Changeset 3102188
- Timestamp:
- 06/13/2024 09:18:14 AM (8 weeks ago)
- Location:
- directorist
- Files:
-
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
directorist/tags/7.10.2/config.php
r3100243 r3102188 1 1 <?php 2 2 // Plugin version. 3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.10. 1' );}3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.10.' );} 4 4 // Plugin Folder Path. 5 5 if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); } -
directorist/tags/7.10.2/directorist-base.php
r3100243 r3102188 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.10. 16 * Version: 7.10. 7 7 * Author: wpWax 8 8 * Author URI: https://wpwax.com -
directorist/tags/7.10.2/includes/classes/class-extension.php
r3099988 r3102188 395 395 $plugin_key = self::filter_plugin_key_from_base_name( $plugin_key ); 396 396 $plugin_item = self::extract_plugin_from_list( $plugin_key, $plugins_available_in_subscriptions ); 397 $url = self::get_file_download_link( $plugin_item, 'plugin' );398 399 $download_status = $this->download_plugin( array( 'url' => $ url) );397 $url ; 398 399 $download_status = $this->download_plugin( array( 'url' => $ ) ); 400 400 401 401 if ( ! $download_status['success'] ) { … … 649 649 650 650 $theme_item = $themes_available_in_subscriptions[ $theme_stylesheet ]; 651 $url = self::get_file_download_link( $theme_item, 'theme' ); 652 $url = ( empty( $url ) && ! empty( $outdated_themes[ $theme_stylesheet ]['package'] ) ) ? $outdated_themes[ $theme_stylesheet ]['package'] : $url; 653 651 $url = $theme_item['download_link'] ?? ''; 654 652 $download_status = $this->download_theme( array( 'url' => $url ) ); 655 653 -
directorist/tags/7.10.2/includes/model/Listings.php
r3099988 r3102188 1197 1197 1198 1198 if ( $this->directory_type ) { 1199 $args['slug'] = $this->directory_type; 1199 $args['slug'] = $this->directory_type; 1200 $args['orderby'] = 'slug__in'; 1200 1201 } 1201 1202 … … 1204 1205 1205 1206 public function get_current_listing_type() { 1207 1208 1206 1209 if ( is_singular( ATBDP_POST_TYPE ) ) { 1207 1210 $directory = get_post_meta( get_the_ID(), '_directory_type', true ); 1208 1211 } else if ( ! empty( $_REQUEST['directory_type'] ) ) { 1209 1212 $directory = sanitize_text_field( wp_unslash( $_REQUEST['directory_type'] ) ); 1210 1211 if ( ! is_numeric( $directory ) ) { 1212 $directory_term = get_term_by( 'slug', $directory, ATBDP_DIRECTORY_TYPE ); 1213 $directory = $directory_term ? $directory_term->term_id : 0; 1214 } 1215 } 1216 1217 if ( ! empty( $directory ) && directorist_is_directory( $directory ) ) { 1213 } else if ( ! empty( $this->default_directory_type ) ) { 1214 $directory = $this->default_directory_type; 1215 } else if ( ! empty( $this->directory_type ) ) { 1216 $directory = array_key_first( $this->get_listing_types() ); 1217 } 1218 1219 if ( ! is_numeric( $directory ) ) { 1220 $directory_term = get_term_by( 'slug', $directory, ATBDP_DIRECTORY_TYPE ); 1221 $directory = $directory_term ? $directory_term->term_id : 0; 1222 } 1223 1224 if ( directorist_is_directory( $directory ) ) { 1218 1225 return (int) $directory; 1219 1226 } 1220 1227 1221 1228 return directorist_get_default_directory(); 1222 1229 } -
directorist/tags/7.10.2/readme.txt
r3100243 r3102188 1 === Directorist - WordPress Business Directory Plugin with Classified Ads Listings ===1 === Directorist - WordPress Business Directory Plugin with Classified Ads Listings === 2 2 Contributors: wpwax 3 3 Donate link: https://directorist.com/extensions/ … … 6 6 Tested up to: 6.5 7 7 Requires PHP: 7.0 8 Stable tag: 7.10. 18 Stable tag: 7.10. 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 305 305 == Changelog == 306 306 307 308 309 310 307 311 7.10.0 - Jun 9, 2024 308 312 -
directorist/trunk/config.php
r3100243 r3102188 1 1 <?php 2 2 // Plugin version. 3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.10. 1' );}3 if ( ! defined( 'ATBDP_VERSION' ) ) {define( 'ATBDP_VERSION', '7.10.' );} 4 4 // Plugin Folder Path. 5 5 if ( ! defined( 'ATBDP_DIR' ) ) { define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); } -
directorist/trunk/directorist-base.php
r3100243 r3102188 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.10. 16 * Version: 7.10. 7 7 * Author: wpWax 8 8 * Author URI: https://wpwax.com -
directorist/trunk/includes/classes/class-extension.php
r3099988 r3102188 395 395 $plugin_key = self::filter_plugin_key_from_base_name( $plugin_key ); 396 396 $plugin_item = self::extract_plugin_from_list( $plugin_key, $plugins_available_in_subscriptions ); 397 $url = self::get_file_download_link( $plugin_item, 'plugin' );398 399 $download_status = $this->download_plugin( array( 'url' => $ url) );397 $url ; 398 399 $download_status = $this->download_plugin( array( 'url' => $ ) ); 400 400 401 401 if ( ! $download_status['success'] ) { … … 649 649 650 650 $theme_item = $themes_available_in_subscriptions[ $theme_stylesheet ]; 651 $url = self::get_file_download_link( $theme_item, 'theme' ); 652 $url = ( empty( $url ) && ! empty( $outdated_themes[ $theme_stylesheet ]['package'] ) ) ? $outdated_themes[ $theme_stylesheet ]['package'] : $url; 653 651 $url = $theme_item['download_link'] ?? ''; 654 652 $download_status = $this->download_theme( array( 'url' => $url ) ); 655 653 -
directorist/trunk/includes/model/Listings.php
r3099988 r3102188 1197 1197 1198 1198 if ( $this->directory_type ) { 1199 $args['slug'] = $this->directory_type; 1199 $args['slug'] = $this->directory_type; 1200 $args['orderby'] = 'slug__in'; 1200 1201 } 1201 1202 … … 1204 1205 1205 1206 public function get_current_listing_type() { 1207 1208 1206 1209 if ( is_singular( ATBDP_POST_TYPE ) ) { 1207 1210 $directory = get_post_meta( get_the_ID(), '_directory_type', true ); 1208 1211 } else if ( ! empty( $_REQUEST['directory_type'] ) ) { 1209 1212 $directory = sanitize_text_field( wp_unslash( $_REQUEST['directory_type'] ) ); 1210 1211 if ( ! is_numeric( $directory ) ) { 1212 $directory_term = get_term_by( 'slug', $directory, ATBDP_DIRECTORY_TYPE ); 1213 $directory = $directory_term ? $directory_term->term_id : 0; 1214 } 1215 } 1216 1217 if ( ! empty( $directory ) && directorist_is_directory( $directory ) ) { 1213 } else if ( ! empty( $this->default_directory_type ) ) { 1214 $directory = $this->default_directory_type; 1215 } else if ( ! empty( $this->directory_type ) ) { 1216 $directory = array_key_first( $this->get_listing_types() ); 1217 } 1218 1219 if ( ! is_numeric( $directory ) ) { 1220 $directory_term = get_term_by( 'slug', $directory, ATBDP_DIRECTORY_TYPE ); 1221 $directory = $directory_term ? $directory_term->term_id : 0; 1222 } 1223 1224 if ( directorist_is_directory( $directory ) ) { 1218 1225 return (int) $directory; 1219 1226 } 1220 1227 1221 1228 return directorist_get_default_directory(); 1222 1229 } -
directorist/trunk/readme.txt
r3100243 r3102188 1 === Directorist - WordPress Business Directory Plugin with Classified Ads Listings ===1 === Directorist - WordPress Business Directory Plugin with Classified Ads Listings === 2 2 Contributors: wpwax 3 3 Donate link: https://directorist.com/extensions/ … … 6 6 Tested up to: 6.5 7 7 Requires PHP: 7.0 8 Stable tag: 7.10. 18 Stable tag: 7.10. 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 305 305 == Changelog == 306 306 307 308 309 310 307 311 7.10.0 - Jun 9, 2024 308 312
Note: See TracChangeset
for help on using the changeset viewer.