Business Directory Plugin - Version 5.5.13.1

Version Description

Download this release

Release Info

Developer businessdirectoryplugin
Plugin Icon 128x128 Business Directory Plugin
Version 5.5.13.1
Comparing to
See all releases

Code changes from version 5.5.13 to 5.5.13.1

README.TXT CHANGED
@@ -5,8 +5,8 @@ Tags: business directory, listings, directory plugin, company business directory
5
  Requires at least: 4.8
6
  Requires PHP: 5.6
7
  Tested up to: 5.3
8
- Last Updated: 2019-Dec-18
9
- Stable tag: 5.5.13
10
  License: GPLv2 or later
11
 
12
  Build any kind of local listings directory, directory of business providers, a Yellow-Pages business directory, Yelp-like review directory, property listings and much more! Make your listings sing with Business Directory Plugin.
@@ -146,6 +146,9 @@ If you are having problems please visit [support forum](http://www.businessdirec
146
 
147
  == Changelog ==
148
 
 
 
 
149
  = Version 5.5.13 =
150
  * Allow Plugin uninstall even if there are active subscriptions.
151
  * Allow Zip Code Search field catch a filter to change textarea value.
5
  Requires at least: 4.8
6
  Requires PHP: 5.6
7
  Tested up to: 5.3
8
+ Last Updated: 2019-Dec-20
9
+ Stable tag: 5.5.13.1
10
  License: GPLv2 or later
11
 
12
  Build any kind of local listings directory, directory of business providers, a Yellow-Pages business directory, Yelp-like review directory, property listings and much more! Make your listings sing with Business Directory Plugin.
146
 
147
  == Changelog ==
148
 
149
+ = Version 5.5.13.1 =
150
+ * Validate queried object exists and is valid before setting BD query var. (#4385)
151
+
152
  = Version 5.5.13 =
153
  * Allow Plugin uninstall even if there are active subscriptions.
154
  * Allow Zip Code Search field catch a filter to change textarea value.
business-directory-plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Business Directory Plugin
4
  * Plugin URI: https://www.businessdirectoryplugin.com
5
  * Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
6
- * Version: 5.5.13
7
  * Author: D. Rodenbaugh
8
  * Author URI: https://businessdirectoryplugin.com
9
  * Text Domain: WPBDM
3
  * Plugin Name: Business Directory Plugin
4
  * Plugin URI: https://www.businessdirectoryplugin.com
5
  * Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
6
+ * Version: 5.5.13.1
7
  * Author: D. Rodenbaugh
8
  * Author URI: https://businessdirectoryplugin.com
9
  * Text Domain: WPBDM
includes/class-shortcodes.php CHANGED
@@ -704,7 +704,7 @@ class WPBDP__Shortcodes {
704
  }
705
 
706
  public function maybe_set_shortcode_query_flags( $query ) {
707
- if ( $query->wpbdp_is_main_page || ! $query->is_page ) {
708
  return;
709
  }
710
 
704
  }
705
 
706
  public function maybe_set_shortcode_query_flags( $query ) {
707
+ if ( $query->wpbdp_is_main_page || ! $query->is_page || ! $query->queried_object || empty( $query->queried_object->post_content ) ) {
708
  return;
709
  }
710
 
includes/class-wpbdp.php CHANGED
@@ -19,7 +19,7 @@ final class WPBDP {
19
  }
20
 
21
  private function setup_constants() {
22
- define( 'WPBDP_VERSION', '5.5.13' );
23
 
24
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
25
  define( 'WPBDP_INC', trailingslashit( WPBDP_PATH . 'includes' ) );
19
  }
20
 
21
  private function setup_constants() {
22
+ define( 'WPBDP_VERSION', '5.5.13.1' );
23
 
24
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
25
  define( 'WPBDP_INC', trailingslashit( WPBDP_PATH . 'includes' ) );