Business Directory Plugin - Version 5.14.2

Version Description

Download this release

Release Info

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

Code changes from version 5.14.1 to 5.14.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.14.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.
@@ -162,6 +162,9 @@ Yes it is. However, you cannot "network activate" the plugin (as this will share
162
  This can be done under Plugins -> Add New as the Administrator user. Do not "network activate" as the "super admin".
163
 
164
  == Changelog ==
 
 
 
165
  = 5.14.1 =
166
  * Fix: Prevent the default free fee option from showing when payments are turned on.
167
 
@@ -212,9 +215,4 @@ This can be done under Plugins -> Add New as the Administrator user. Do not "net
212
  * New: Add wpbdp_custom_strings hook to replace additional strings.
213
  * Security: Sanitize and escape more settings (fees, fields, general settings)
214
 
215
- = 5.12.2 =
216
- * New: Remove the id from listing url by default on new installs.
217
- * New: Use css for the featured banner by deafult instead of an image. This makes the 'Featured' label translatable.
218
- * Fix: Some of the filters in the admin listing table were causing SQL errors.
219
-
220
  <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.14.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.
162
  This can be done under Plugins -> Add New as the Administrator user. Do not "network activate" as the "super admin".
163
 
164
  == Changelog ==
165
+ = 5.14.2 =
166
+ * Fix: Adding images to a listing from the back-end was causing js errors.
167
+
168
  = 5.14.1 =
169
  * Fix: Prevent the default free fee option from showing when payments are turned on.
170
 
215
  * New: Add wpbdp_custom_strings hook to replace additional strings.
216
  * Security: Sanitize and escape more settings (fees, fields, general settings)
217
 
 
 
 
 
 
218
  <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.14.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.14.2
7
  * Author: Business Directory Team
8
  * Author URI: https://businessdirectoryplugin.com
9
  * Text Domain: business-directory-plugin
includes/class-wpbdp.php CHANGED
@@ -23,7 +23,7 @@ final class WPBDP {
23
  }
24
 
25
  private function setup_constants() {
26
- define( 'WPBDP_VERSION', '5.14.1' );
27
 
28
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
29
  define( 'WPBDP_INC', trailingslashit( WPBDP_PATH . 'includes' ) );
23
  }
24
 
25
  private function setup_constants() {
26
+ define( 'WPBDP_VERSION', '5.14.2' );
27
 
28
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
29
  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.14.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/business-directory-plugin\n"
8
- "POT-Creation-Date: 2021-10-13 00:37:47+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.14.2\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/business-directory-plugin\n"
8
+ "POT-Creation-Date: 2021-10-13 20:16:14+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
templates/admin/form-fields-addoredit.tpl.php CHANGED
@@ -313,9 +313,9 @@ wpbdp_admin_notices();
313
  </form>
314
 
315
  <script>
316
- jQuery(document).ready(function(){
317
- WPBDP_associations_fieldtypes = <?php echo json_encode( $association_field_types ); ?>
318
- });
319
  </script>
320
 
321
  <?php echo wpbdp_admin_footer(); ?>
313
  </form>
314
 
315
  <script>
316
+ document.addEventListener( 'DOMContentLoaded', function () {
317
+ WPBDP_associations_fieldtypes = <?php echo json_encode( $association_field_types ); ?>
318
+ }, false );
319
  </script>
320
 
321
  <?php echo wpbdp_admin_footer(); ?>
templates/submit-listing-images.tpl.php CHANGED
@@ -83,7 +83,8 @@ endif;
83
  $vars['echo'] = true;
84
  wpbdp_render( 'submit-listing-images-upload-form', $vars, false );
85
  ?>
86
-
87
  <script>
88
- wpbdp.listingSubmit.images.init();
 
 
89
  </script>
83
  $vars['echo'] = true;
84
  wpbdp_render( 'submit-listing-images-upload-form', $vars, false );
85
  ?>
 
86
  <script>
87
+ document.addEventListener( 'DOMContentLoaded', function () {
88
+ wpbdp.listingSubmit.images.init();
89
+ }, false );
90
  </script>
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.14.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.14.2",
5
  "author": "Business Directory Team",
6
  "author_email": "support@businessdirectoryplugin.com",
7
  "author_url": "https://businessdirectoryplugin.com",