Version Description
Download this release
Release Info
Developer | businessdirectoryplugin |
Plugin | Business Directory Plugin |
Version | 5.5.7 |
Comparing to | |
See all releases |
Code changes from version 5.5.6 to 5.5.7
- README.TXT +7 -3
- business-directory-plugin.php +1 -1
- includes/class-wpbdp.php +1 -1
- includes/templates-ui.php +7 -0
- languages/WPBDM.pot +2 -2
README.TXT
CHANGED
@@ -5,11 +5,11 @@ Tags: business directory, listings, directory plugin, company business directory
|
|
5 |
Requires at least: 4.7
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.2
|
8 |
-
Last Updated: 2019-May-
|
9 |
-
Stable tag: 5.5.
|
10 |
License: GPLv2 or later
|
11 |
|
12 |
-
Build any kind of local 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.
|
13 |
|
14 |
== Description ==
|
15 |
|
@@ -145,6 +145,10 @@ If you are having problems please visit [support forum](http://www.businessdirec
|
|
145 |
|
146 |
|
147 |
== Changelog ==
|
|
|
|
|
|
|
|
|
148 |
= Version 5.5.6 =
|
149 |
* Fix quick search for multiple keywords.
|
150 |
* Restore BD thumbnail image size name.
|
5 |
Requires at least: 4.7
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.2
|
8 |
+
Last Updated: 2019-May-30
|
9 |
+
Stable tag: 5.5.7
|
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.
|
13 |
|
14 |
== Description ==
|
15 |
|
145 |
|
146 |
|
147 |
== Changelog ==
|
148 |
+
|
149 |
+
= Version 5.5.7 =
|
150 |
+
* Validate image size before setting listing thumbnail image.
|
151 |
+
|
152 |
= Version 5.5.6 =
|
153 |
* Fix quick search for multiple keywords.
|
154 |
* Restore BD thumbnail image size name.
|
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.
|
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.7
|
7 |
* Author: D. Rodenbaugh
|
8 |
* Author URI: https://businessdirectoryplugin.com
|
9 |
* Text Domain: WPBDM
|
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.
|
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.7' );
|
23 |
|
24 |
define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
|
25 |
define( 'WPBDP_INC', trailingslashit( WPBDP_PATH . 'includes' ) );
|
includes/templates-ui.php
CHANGED
@@ -526,6 +526,13 @@ function wpbdp_listing_thumbnail( $listing_id = null, $args = array(), $display
|
|
526 |
|
527 |
$image_size = wpbdp_get_option( 'listing-main-image-default-size', 'wpbdp-thumb' );
|
528 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
529 |
$image_img = wp_get_attachment_image(
|
530 |
$main_image->ID,
|
531 |
'uploaded' !== $image_size ? $image_size : '',
|
526 |
|
527 |
$image_size = wpbdp_get_option( 'listing-main-image-default-size', 'wpbdp-thumb' );
|
528 |
|
529 |
+
//Fix for #4185, remove before 5.6. {
|
530 |
+
if ( 'wpbdp-thumbnail' === $image_size ) {
|
531 |
+
$image_size = 'wpbdp-thumb';
|
532 |
+
wpbdp_set_option( 'listing-main-image-default-size', $image_size );
|
533 |
+
}
|
534 |
+
//}.
|
535 |
+
|
536 |
$image_img = wp_get_attachment_image(
|
537 |
$main_image->ID,
|
538 |
'uploaded' !== $image_size ? $image_size : '',
|
languages/WPBDM.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the GPLv2 or any later version.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Business Directory Plugin 5.5.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/business-directory-plugin\n"
|
8 |
-
"POT-Creation-Date: 2019-05-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the GPLv2 or any later version.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Business Directory Plugin 5.5.7\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/business-directory-plugin\n"
|
8 |
+
"POT-Creation-Date: 2019-05-31 00:30:20+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|