Business Directory Plugin - Version 5.15.4

Version Description

Download this release

Release Info

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

Code changes from version 5.15.3 to 5.15.4

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.3
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.3 =
162
  * New: When the number of images on a plan changes, offer the option to update the image limit on existing listings.
163
  * New: Update the plan table to include the number of listings and amount earned.
4
  Requires at least: 4.8
5
  Requires PHP: 5.6
6
  Tested up to: 5.8.1
7
+ Stable tag: 5.15.4
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.4 =
162
+ * Fix: Sites without a field selected for the address were getting errors.
163
+
164
  = 5.15.3 =
165
  * New: When the number of images on a plan changes, offer the option to update the image limit on existing listings.
166
  * New: Update the plan table to include the number of listings and amount earned.
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.3
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.4
7
  * Author: Business Directory Team
8
  * Author URI: https://businessdirectoryplugin.com
9
  * Text Domain: business-directory-plugin
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.3' );
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.4' );
32
 
33
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
34
  define( 'WPBDP_INC', trailingslashit( WPBDP_PATH . 'includes' ) );
includes/helpers/class-field-display-list.php CHANGED
@@ -239,14 +239,20 @@ class WPBDP_Field_Display_List implements IteratorAggregate {
239
  */
240
  public function helper__address_label() {
241
  $field = $this->t_address->field;
 
 
 
 
 
 
 
 
242
  if ( $field->has_display_flag( 'nolabel' ) ) {
243
  return '';
244
  }
245
 
246
- $atts = array(
247
- 'class' => 'address-label',
248
- 'field' => $field,
249
- );
250
  return WPBDP_Form_Field_Type::field_label_display_wrapper( $this->t_address->label, $atts );
251
  }
252
 
239
  */
240
  public function helper__address_label() {
241
  $field = $this->t_address->field;
242
+ $atts = array(
243
+ 'class' => 'address-label',
244
+ );
245
+
246
+ if ( ! $field ) {
247
+ return WPBDP_Form_Field_Type::field_label_display_wrapper( __( 'Address', 'business-directory-plugin' ), $atts );
248
+ }
249
+
250
  if ( $field->has_display_flag( 'nolabel' ) ) {
251
  return '';
252
  }
253
 
254
+ $atts['field'] = $field;
255
+
 
 
256
  return WPBDP_Form_Field_Type::field_label_display_wrapper( $this->t_address->label, $atts );
257
  }
258
 
languages/business-directory-plugin-ar.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
9
  "PO-Revision-Date: 2017-01-16 17:47-0500\n"
10
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
11
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
@@ -347,7 +347,9 @@ msgid "Tags"
347
  msgstr "الوسوم"
348
 
349
  #: includes/admin/controllers/class-form-fields-admin.php:343
350
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
351
  #, fuzzy
352
  msgid "Address"
353
  msgstr "العنوان"
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
9
  "PO-Revision-Date: 2017-01-16 17:47-0500\n"
10
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
11
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
347
  msgstr "الوسوم"
348
 
349
  #: includes/admin/controllers/class-form-fields-admin.php:343
350
+ #: includes/form-fields.php:445
351
+ #: includes/helpers/class-field-display-list.php:247
352
+ #: templates/checkout-billing-form.tpl.php:75
353
  #, fuzzy
354
  msgid "Address"
355
  msgstr "العنوان"
languages/business-directory-plugin-de_DE.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
9
  "PO-Revision-Date: 2020-06-17 15:32-0500\n"
10
  "Last-Translator: Axel J. Metayer <axel@kfz.net>\n"
11
  "Language-Team: Business Directory Plugin <support@businessdirectoryplugin."
@@ -351,7 +351,9 @@ msgid "Tags"
351
  msgstr "Tags Entwurf"
352
 
353
  #: includes/admin/controllers/class-form-fields-admin.php:343
354
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
355
  #, fuzzy
356
  msgid "Address"
357
  msgstr "E-Mail Adresse:"
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
9
  "PO-Revision-Date: 2020-06-17 15:32-0500\n"
10
  "Last-Translator: Axel J. Metayer <axel@kfz.net>\n"
11
  "Language-Team: Business Directory Plugin <support@businessdirectoryplugin."
351
  msgstr "Tags Entwurf"
352
 
353
  #: includes/admin/controllers/class-form-fields-admin.php:343
354
+ #: includes/form-fields.php:445
355
+ #: includes/helpers/class-field-display-list.php:247
356
+ #: templates/checkout-billing-form.tpl.php:75
357
  #, fuzzy
358
  msgid "Address"
359
  msgstr "E-Mail Adresse:"
languages/business-directory-plugin-en_US.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
9
  "PO-Revision-Date: 2020-06-17 15:32-0500\n"
10
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
11
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
@@ -293,7 +293,9 @@ msgid "Tags"
293
  msgstr ""
294
 
295
  #: includes/admin/controllers/class-form-fields-admin.php:343
296
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
297
  msgid "Address"
298
  msgstr ""
299
 
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
9
  "PO-Revision-Date: 2020-06-17 15:32-0500\n"
10
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
11
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
293
  msgstr ""
294
 
295
  #: includes/admin/controllers/class-form-fields-admin.php:343
296
+ #: includes/form-fields.php:445
297
+ #: includes/helpers/class-field-display-list.php:247
298
+ #: templates/checkout-billing-form.tpl.php:75
299
  msgid "Address"
300
  msgstr ""
301
 
languages/business-directory-plugin-fr_FR.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
9
  "PO-Revision-Date: 2020-06-17 15:32-0500\n"
10
  "Last-Translator: Laurent Provin <lprovin@yahoo.fr>\n"
11
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
@@ -349,7 +349,9 @@ msgid "Tags"
349
  msgstr "Étiquettes (tags)"
350
 
351
  #: includes/admin/controllers/class-form-fields-admin.php:343
352
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
353
  #, fuzzy
354
  msgid "Address"
355
  msgstr "Adresse"
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
9
  "PO-Revision-Date: 2020-06-17 15:32-0500\n"
10
  "Last-Translator: Laurent Provin <lprovin@yahoo.fr>\n"
11
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
349
  msgstr "Étiquettes (tags)"
350
 
351
  #: includes/admin/controllers/class-form-fields-admin.php:343
352
+ #: includes/form-fields.php:445
353
+ #: includes/helpers/class-field-display-list.php:247
354
+ #: templates/checkout-billing-form.tpl.php:75
355
  #, fuzzy
356
  msgid "Address"
357
  msgstr "Adresse"
languages/business-directory-plugin-it_IT.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
7
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
@@ -354,7 +354,9 @@ msgid "Tags"
354
  msgstr "Tags"
355
 
356
  #: includes/admin/controllers/class-form-fields-admin.php:343
357
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
358
  #, fuzzy
359
  msgid "Address"
360
  msgstr "Indirizzo"
3
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
7
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
354
  msgstr "Tags"
355
 
356
  #: includes/admin/controllers/class-form-fields-admin.php:343
357
+ #: includes/form-fields.php:445
358
+ #: includes/helpers/class-field-display-list.php:247
359
+ #: templates/checkout-billing-form.tpl.php:75
360
  #, fuzzy
361
  msgid "Address"
362
  msgstr "Indirizzo"
languages/business-directory-plugin-nl_NL.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
7
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
8
  "Last-Translator: admin <info@nederlofcentrum.nl>\n"
9
  "Language-Team: Dutch\n"
@@ -323,7 +323,9 @@ msgid "Tags"
323
  msgstr ""
324
 
325
  #: includes/admin/controllers/class-form-fields-admin.php:343
326
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
327
  #, fuzzy
328
  msgid "Address"
329
  msgstr "Adres"
3
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
7
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
8
  "Last-Translator: admin <info@nederlofcentrum.nl>\n"
9
  "Language-Team: Dutch\n"
323
  msgstr ""
324
 
325
  #: includes/admin/controllers/class-form-fields-admin.php:343
326
+ #: includes/form-fields.php:445
327
+ #: includes/helpers/class-field-display-list.php:247
328
+ #: templates/checkout-billing-form.tpl.php:75
329
  #, fuzzy
330
  msgid "Address"
331
  msgstr "Adres"
languages/business-directory-plugin-pl_PL.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
7
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
8
  "Last-Translator: HomeSupport <admin@homesupport.pl>\n"
9
  "Language-Team: HomeSupport\n"
@@ -402,7 +402,9 @@ msgstr "Slug Tagów"
402
 
403
  # @ WPBDM
404
  #: includes/admin/controllers/class-form-fields-admin.php:343
405
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
406
  #, fuzzy
407
  msgid "Address"
408
  msgstr "Adres e-mail:"
3
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
7
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
8
  "Last-Translator: HomeSupport <admin@homesupport.pl>\n"
9
  "Language-Team: HomeSupport\n"
402
 
403
  # @ WPBDM
404
  #: includes/admin/controllers/class-form-fields-admin.php:343
405
+ #: includes/form-fields.php:445
406
+ #: includes/helpers/class-field-display-list.php:247
407
+ #: templates/checkout-billing-form.tpl.php:75
408
  #, fuzzy
409
  msgid "Address"
410
  msgstr "Adres e-mail:"
languages/business-directory-plugin-ru_RU.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
7
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
8
  "Last-Translator: Mick Levin <mikhaillevin@hotmail.com>\n"
9
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
@@ -357,7 +357,9 @@ msgid "Tags"
357
  msgstr "Метки"
358
 
359
  #: includes/admin/controllers/class-form-fields-admin.php:343
360
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
361
  #, fuzzy
362
  msgid "Address"
363
  msgstr "Адрес"
3
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
7
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
8
  "Last-Translator: Mick Levin <mikhaillevin@hotmail.com>\n"
9
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
357
  msgstr "Метки"
358
 
359
  #: includes/admin/controllers/class-form-fields-admin.php:343
360
+ #: includes/form-fields.php:445
361
+ #: includes/helpers/class-field-display-list.php:247
362
+ #: templates/checkout-billing-form.tpl.php:75
363
  #, fuzzy
364
  msgid "Address"
365
  msgstr "Адрес"
languages/business-directory-plugin-sv_SE.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
9
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
10
  "Last-Translator: \n"
11
  "Language-Team: \n"
@@ -345,7 +345,9 @@ msgid "Tags"
345
  msgstr "Tagg"
346
 
347
  #: includes/admin/controllers/class-form-fields-admin.php:343
348
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
349
  #, fuzzy
350
  msgid "Address"
351
  msgstr "Adress"
5
  "Project-Id-Version: Business Directory Plugin v5.7.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
9
  "PO-Revision-Date: 2020-06-17 15:33-0500\n"
10
  "Last-Translator: \n"
11
  "Language-Team: \n"
345
  msgstr "Tagg"
346
 
347
  #: includes/admin/controllers/class-form-fields-admin.php:343
348
+ #: includes/form-fields.php:445
349
+ #: includes/helpers/class-field-display-list.php:247
350
+ #: templates/checkout-billing-form.tpl.php:75
351
  #, fuzzy
352
  msgid "Address"
353
  msgstr "Adress"
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.3\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/business-directory-plugin\n"
8
- "POT-Creation-Date: 2021-12-07 23:04:03+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -290,7 +290,9 @@ msgid "Tags"
290
  msgstr ""
291
 
292
  #: includes/admin/controllers/class-form-fields-admin.php:343
293
- #: includes/form-fields.php:445 templates/checkout-billing-form.tpl.php:75
 
 
294
  msgid "Address"
295
  msgstr ""
296
 
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.4\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/business-directory-plugin\n"
8
+ "POT-Creation-Date: 2021-12-10 22:26:44+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
290
  msgstr ""
291
 
292
  #: includes/admin/controllers/class-form-fields-admin.php:343
293
+ #: includes/form-fields.php:445
294
+ #: includes/helpers/class-field-display-list.php:247
295
+ #: templates/checkout-billing-form.tpl.php:75
296
  msgid "Address"
297
  msgstr ""
298
 
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.3",
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.4",
5
  "author": "Business Directory Team",
6
  "author_email": "support@businessdirectoryplugin.com",
7
  "author_url": "https://businessdirectoryplugin.com",