Business Directory Plugin - Version 5.15.2

Version Description

Download this release

Release Info

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

Code changes from version 5.15.1 to 5.15.2

README.TXT CHANGED
@@ -4,7 +4,7 @@ Tags: business directory, listings, directory plugin, staff directory, member di
4
  Requires at least: 4.8
5
  Requires PHP: 5.6
6
  Tested up to: 5.8.1
7
- Stable tag: 5.15.1
8
  License: GPLv2 or later
9
 
10
  The best WordPress Business Directory Plugin. Build an easy team directory, member directory, staff directory, church directory, and more.
@@ -158,6 +158,9 @@ Yes it is. However, you cannot "network activate" the plugin (as this will share
158
  This can be done under Plugins -> Add New as the Administrator user. Do not "network activate" as the "super admin".
159
 
160
  == Changelog ==
 
 
 
161
  = 5.15.1 =
162
  * Fix: Listings set to never expire were switching to expired on edit.
163
  * Fix: Long listing titles in sidebar widgets weren't wrapping with some settings.
@@ -179,10 +182,4 @@ This can be done under Plugins -> Add New as the Administrator user. Do not "net
179
  * Fix: The buttons to select a plan were missing when renewing.
180
  * Fix: PHP errors were showing in some cases when payments were deleted.
181
 
182
- = 5.14.2 =
183
- * Fix: Adding images to a listing from the back-end was causing js errors.
184
-
185
- = 5.14.1 =
186
- * Fix: Prevent the default free fee option from showing when payments are turned on.
187
-
188
  <a href="https://businessdirectoryplugin.com/plugins/business-directory/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">See changelog for all versions</a>
4
  Requires at least: 4.8
5
  Requires PHP: 5.6
6
  Tested up to: 5.8.1
7
+ Stable tag: 5.15.2
8
  License: GPLv2 or later
9
 
10
  The best WordPress Business Directory Plugin. Build an easy team directory, member directory, staff directory, church directory, and more.
158
  This can be done under Plugins -> Add New as the Administrator user. Do not "network activate" as the "super admin".
159
 
160
  == Changelog ==
161
+ = 5.15.2 =
162
+ * Fix: Listings set to never expire were changing to draft after editing.
163
+
164
  = 5.15.1 =
165
  * Fix: Listings set to never expire were switching to expired on edit.
166
  * Fix: Long listing titles in sidebar widgets weren't wrapping with some settings.
182
  * Fix: The buttons to select a plan were missing when renewing.
183
  * Fix: PHP errors were showing in some cases when payments were deleted.
184
 
 
 
 
 
 
 
185
  <a href="https://businessdirectoryplugin.com/plugins/business-directory/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">See changelog for all versions</a>
business-directory-plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Business Directory Plugin
4
  * Plugin URI: https://businessdirectoryplugin.com
5
  * Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
6
- * Version: 5.15.1
7
  * Author: Business Directory Team
8
  * Author URI: https://businessdirectoryplugin.com
9
  * Text Domain: business-directory-plugin
3
  * Plugin Name: Business Directory Plugin
4
  * Plugin URI: https://businessdirectoryplugin.com
5
  * Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
6
+ * Version: 5.15.2
7
  * Author: Business Directory Team
8
  * Author URI: https://businessdirectoryplugin.com
9
  * Text Domain: business-directory-plugin
includes/admin/controllers/class-admin-listings.php CHANGED
@@ -615,7 +615,7 @@ class WPBDP_Admin_Listings {
615
  if ( ! $row['expiration_date'] || $not_expired ) {
616
  $listing->get_status( true, true );
617
  }
618
- } elseif ( ! $not_expired ) {
619
  $listing->set_status( 'expired' );
620
  }
621
  }
615
  if ( ! $row['expiration_date'] || $not_expired ) {
616
  $listing->get_status( true, true );
617
  }
618
+ } elseif ( ! $not_expired && $row['expiration_date'] ) {
619
  $listing->set_status( 'expired' );
620
  }
621
  }
includes/admin/settings/class-settings-bootstrap.php CHANGED
@@ -1541,29 +1541,12 @@ final class WPBDP__Settings__Bootstrap {
1541
  'id' => 'email-templates-payment-abandoned',
1542
  'type' => 'email_template',
1543
  'name' => _x( 'Payment abandoned reminder message', 'settings', 'business-directory-plugin' ),
1544
- 'desc' => _x( 'Sent some time after a pending payment is abandoned by users.', 'settings', 'business-directory-plugin' ),
1545
- 'default' => array(
1546
- 'subject' => '[[site-title]] Pending payment for "[listing]"',
1547
- 'body' => '
1548
- Hi there,
1549
-
1550
- We noticed that you tried submitting a listing on [site-link] but didn\'t finish
1551
- the process. If you want to complete the payment and get your listing
1552
- included, just click here to continue:
1553
-
1554
- [link]
1555
-
1556
- If you have any issues, please contact us directly by hitting reply to this
1557
- email!
1558
-
1559
- Thanks,
1560
- - The Administrator of [site-title]',
1561
- ),
1562
  'placeholders' => array(
1563
  'listing' => _x( 'Listing\'s title', 'admin settings', 'business-directory-plugin' ),
1564
  'link' => _x( 'Checkout URL link', 'admin settings', 'business-directory-plugin' ),
1565
  ),
1566
  'group' => 'email_templates',
 
1567
  )
1568
  );
1569
 
@@ -1571,7 +1554,7 @@ final class WPBDP__Settings__Bootstrap {
1571
  array(
1572
  'id' => 'expiration-notices',
1573
  'type' => 'expiration_notices',
1574
- 'name' => __( 'Email Notifications', 'business-directory-plugin' ),
1575
  'default' => self::get_default_expiration_notices(),
1576
  'group' => 'email_templates',
1577
  'validator' => array( __class__, 'validate_expiration_notices' ),
1541
  'id' => 'email-templates-payment-abandoned',
1542
  'type' => 'email_template',
1543
  'name' => _x( 'Payment abandoned reminder message', 'settings', 'business-directory-plugin' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1544
  'placeholders' => array(
1545
  'listing' => _x( 'Listing\'s title', 'admin settings', 'business-directory-plugin' ),
1546
  'link' => _x( 'Checkout URL link', 'admin settings', 'business-directory-plugin' ),
1547
  ),
1548
  'group' => 'email_templates',
1549
+ 'requirements' => array( 'payment-abandonment' ),
1550
  )
1551
  );
1552
 
1554
  array(
1555
  'id' => 'expiration-notices',
1556
  'type' => 'expiration_notices',
1557
+ 'name' => __( 'Renewal and expiration', 'business-directory-plugin' ),
1558
  'default' => self::get_default_expiration_notices(),
1559
  'group' => 'email_templates',
1560
  'validator' => array( __class__, 'validate_expiration_notices' ),
includes/class-wpbdp.php CHANGED
@@ -28,7 +28,7 @@ final class WPBDP {
28
  }
29
 
30
  private function setup_constants() {
31
- define( 'WPBDP_VERSION', '5.15.1' );
32
 
33
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
34
  define( 'WPBDP_INC', trailingslashit( WPBDP_PATH . 'includes' ) );
28
  }
29
 
30
  private function setup_constants() {
31
+ define( 'WPBDP_VERSION', '5.15.2' );
32
 
33
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
34
  define( 'WPBDP_INC', trailingslashit( WPBDP_PATH . 'includes' ) );
languages/business-directory-plugin.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.15.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/business-directory-plugin\n"
8
- "POT-Creation-Date: 2021-11-16 21:09:16+00:00\n"
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.15.2\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/business-directory-plugin\n"
8
+ "POT-Creation-Date: 2021-11-18 20:49:25+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
themes/default/theme.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "name": "Default Theme",
3
  "description": "The default look of Business Directory. A clean, basic look. This theme is always installed and cannot be removed.",
4
- "version": "5.15.1",
5
  "author": "Business Directory Team",
6
  "author_email": "support@businessdirectoryplugin.com",
7
  "author_url": "https://businessdirectoryplugin.com",
1
  {
2
  "name": "Default Theme",
3
  "description": "The default look of Business Directory. A clean, basic look. This theme is always installed and cannot be removed.",
4
+ "version": "5.15.2",
5
  "author": "Business Directory Team",
6
  "author_email": "support@businessdirectoryplugin.com",
7
  "author_url": "https://businessdirectoryplugin.com",