Version Description
Download this release
Release Info
Developer | businessdirectoryplugin |
Plugin | Business Directory Plugin |
Version | 3.6.9.1 |
Comparing to | |
See all releases |
Code changes from version 3.6.9 to 3.6.9.1
- README.TXT +7 -2
- admin/class-admin.php +2 -1
- admin/class-themes-admin.php +6 -0
- admin/css/themes.css +12 -0
- admin/templates/themes-delete-confirm.tpl.php +4 -3
- business-directory-plugin.php +7 -3
- core/fieldtypes/class-fieldtypes-checkbox.php +1 -1
- core/fieldtypes/class-fieldtypes-radiobutton.php +1 -1
- languages/WPBDM-de_DE.po +2 -2
README.TXT
CHANGED
@@ -4,8 +4,8 @@ Donate link: http://businessdirectoryplugin.com/premium-modules/
|
|
4 |
Tags: business directory,directory,wordpress directory,wordpress directory plugin, wordpress directory theme,wordpress business directory,wordpress local directory,classified ads,classifieds,directory plugin,business directory plugin,directory widget,church directory,address book,address,member directory,members directory,city portal,city portal plugin,city guide plugin,city guide
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.3.1
|
7 |
-
Last Updated: 2015-Oct-
|
8 |
-
Stable tag: tags/3.6.9
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Build local directories, business provider listings, Yellow-Pages directories, Yelp-like review sections and much more!
|
@@ -117,6 +117,11 @@ If you are having problems please visit [support forum](http://www.businessdirec
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
|
|
|
|
120 |
= Version 3.6.9 =
|
121 |
* Add search support for date fields.
|
122 |
* Fix canonical links for non-listing pages.
|
4 |
Tags: business directory,directory,wordpress directory,wordpress directory plugin, wordpress directory theme,wordpress business directory,wordpress local directory,classified ads,classifieds,directory plugin,business directory plugin,directory widget,church directory,address book,address,member directory,members directory,city portal,city portal plugin,city guide plugin,city guide
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.3.1
|
7 |
+
Last Updated: 2015-Oct-15
|
8 |
+
Stable tag: tags/3.6.9.1
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Build local directories, business provider listings, Yellow-Pages directories, Yelp-like review sections and much more!
|
117 |
|
118 |
== Changelog ==
|
119 |
|
120 |
+
= Version 3.6.9.1 =
|
121 |
+
* Fixed critical problem with checkbox fields used with categories
|
122 |
+
* Fixed conflicts with other Membership plugin (PHP warnings)
|
123 |
+
* Fixed error in German translation
|
124 |
+
|
125 |
= Version 3.6.9 =
|
126 |
* Add search support for date fields.
|
127 |
* Fix canonical links for non-listing pages.
|
admin/class-admin.php
CHANGED
@@ -295,7 +295,8 @@ class WPBDP_Admin {
|
|
295 |
'wpbdp_uninstall',
|
296 |
array($this, 'uninstall_plugin'));
|
297 |
|
298 |
-
|
|
|
299 |
}
|
300 |
|
301 |
function admin_menu_reorder( $menu_order ) {
|
295 |
'wpbdp_uninstall',
|
296 |
array($this, 'uninstall_plugin'));
|
297 |
|
298 |
+
if ( isset( $submenu['wpbdp_admin'] ) )
|
299 |
+
$submenu['wpbdp_admin'] = apply_filters( 'wpbdp_admin_menu_reorder', $submenu['wpbdp_admin'] );
|
300 |
}
|
301 |
|
302 |
function admin_menu_reorder( $menu_order ) {
|
admin/class-themes-admin.php
CHANGED
@@ -217,6 +217,12 @@ class WPBDP_Themes_Admin {
|
|
217 |
if ( ! isset( $_POST['dodelete'] ) || 1 != $_POST['dodelete'] )
|
218 |
return;
|
219 |
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
$theme_id = isset( $_POST['theme_id'] ) ? $_POST['theme_id'] : '';
|
221 |
$nonce = isset( $_POST['_wpnonce'] ) ? $_POST['_wpnonce'] : '';
|
222 |
|
217 |
if ( ! isset( $_POST['dodelete'] ) || 1 != $_POST['dodelete'] )
|
218 |
return;
|
219 |
|
220 |
+
// Cancel. Return to themes page.
|
221 |
+
if ( empty( $_POST['delete-theme'] ) ) {
|
222 |
+
wp_redirect( admin_url( 'admin.php?page=wpbdp-themes' ) );
|
223 |
+
exit;
|
224 |
+
}
|
225 |
+
|
226 |
$theme_id = isset( $_POST['theme_id'] ) ? $_POST['theme_id'] : '';
|
227 |
$nonce = isset( $_POST['_wpnonce'] ) ? $_POST['_wpnonce'] : '';
|
228 |
|
admin/css/themes.css
CHANGED
@@ -118,3 +118,15 @@
|
|
118 |
.wpbdp-theme:hover a.delete-theme-link {
|
119 |
display: block;
|
120 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
.wpbdp-theme:hover a.delete-theme-link {
|
119 |
display: block;
|
120 |
}
|
121 |
+
|
122 |
+
#wpbdp-admin-page-theme-delete #delete-theme {
|
123 |
+
margin-left: 20px;
|
124 |
+
color: #a00;
|
125 |
+
}
|
126 |
+
|
127 |
+
#wpbdp-admin-page-theme-delete #delete-theme:hover {
|
128 |
+
background: #d54e21;
|
129 |
+
border-color: #d54e21;
|
130 |
+
color: #fff;
|
131 |
+
box-shadow: none;
|
132 |
+
}
|
admin/templates/themes-delete-confirm.tpl.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
<?php echo wpbdp_admin_header( _x( 'Delete
|
2 |
|
3 |
-
<p><?php printf( _x( 'Are you sure you want to delete the theme "%s"?', 'themes admin', 'WPBDM' ),
|
4 |
$theme->name ); ?></p>
|
5 |
|
6 |
<form action="" method="post">
|
@@ -9,7 +9,8 @@
|
|
9 |
<input type="hidden" name="wpbdp-action" value="delete-theme" />
|
10 |
<?php wp_nonce_field( 'delete theme ' . $theme->id ); ?>
|
11 |
|
12 |
-
<?php submit_button( _x('
|
|
|
13 |
</form>
|
14 |
|
15 |
<?php echo wpbdp_admin_footer(); ?>
|
1 |
+
<?php echo wpbdp_admin_header( _x( 'Delete Directory Theme', 'themes admin', 'WPBDM' ), 'theme-delete' ); ?>
|
2 |
|
3 |
+
<p><?php printf( _x( 'Are you sure you want to delete the directory theme "%s"?', 'themes admin', 'WPBDM' ),
|
4 |
$theme->name ); ?></p>
|
5 |
|
6 |
<form action="" method="post">
|
9 |
<input type="hidden" name="wpbdp-action" value="delete-theme" />
|
10 |
<?php wp_nonce_field( 'delete theme ' . $theme->id ); ?>
|
11 |
|
12 |
+
<?php submit_button( _x('Cancel', 'themes admin', 'WPBDM'), 'secondary', 'cancel', false ); ?>
|
13 |
+
<?php submit_button( _x('Delete Directory Theme', 'themes admin', 'WPBDM'), 'delete', 'delete-theme', false ); ?>
|
14 |
</form>
|
15 |
|
16 |
<?php echo wpbdp_admin_footer(); ?>
|
business-directory-plugin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Business Directory Plugin
|
4 |
* Plugin URI: http://www.businessdirectoryplugin.com
|
5 |
* Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
|
6 |
-
* Version: 3.6.9
|
7 |
* Author: D. Rodenbaugh
|
8 |
* Author URI: http://businessdirectoryplugin.com
|
9 |
* License: GPLv2 or any later version
|
@@ -29,7 +29,7 @@
|
|
29 |
if( preg_match( '#' . basename( __FILE__ ) . '#', $_SERVER['PHP_SELF'] ) )
|
30 |
exit();
|
31 |
|
32 |
-
define( 'WPBDP_VERSION', '3.6.9' );
|
33 |
|
34 |
define( 'WPBDP_PATH', plugin_dir_path( __FILE__ ) );
|
35 |
define( 'WPBDP_URL', trailingslashit( plugins_url( '/', __FILE__ ) ) );
|
@@ -479,7 +479,11 @@ class WPBDP_Plugin {
|
|
479 |
$this->controller->action = null;
|
480 |
status_header(404);
|
481 |
nocache_headers();
|
482 |
-
|
|
|
|
|
|
|
|
|
483 |
exit();
|
484 |
}
|
485 |
}
|
3 |
* Plugin Name: Business Directory Plugin
|
4 |
* Plugin URI: http://www.businessdirectoryplugin.com
|
5 |
* Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
|
6 |
+
* Version: 3.6.9.1
|
7 |
* Author: D. Rodenbaugh
|
8 |
* Author URI: http://businessdirectoryplugin.com
|
9 |
* License: GPLv2 or any later version
|
29 |
if( preg_match( '#' . basename( __FILE__ ) . '#', $_SERVER['PHP_SELF'] ) )
|
30 |
exit();
|
31 |
|
32 |
+
define( 'WPBDP_VERSION', '3.6.9.1' );
|
33 |
|
34 |
define( 'WPBDP_PATH', plugin_dir_path( __FILE__ ) );
|
35 |
define( 'WPBDP_URL', trailingslashit( plugins_url( '/', __FILE__ ) ) );
|
479 |
$this->controller->action = null;
|
480 |
status_header(404);
|
481 |
nocache_headers();
|
482 |
+
$template_404 = get_404_template();
|
483 |
+
|
484 |
+
if( $template_404 )
|
485 |
+
include( $template_404 );
|
486 |
+
|
487 |
exit();
|
488 |
}
|
489 |
}
|
core/fieldtypes/class-fieldtypes-checkbox.php
CHANGED
@@ -27,7 +27,7 @@ class WPBDP_FieldTypes_Checkbox extends WPBDP_Form_Field_Type {
|
|
27 |
'hide_empty' => 0,
|
28 |
'echo' => 0,
|
29 |
'depth' => 0,
|
30 |
-
'walker' => new
|
31 |
'show_option_none' => '',
|
32 |
'title_li' => '',
|
33 |
) );
|
27 |
'hide_empty' => 0,
|
28 |
'echo' => 0,
|
29 |
'depth' => 0,
|
30 |
+
'walker' => new WPBDP_CategoryFormInputWalker( 'checkbox', $value, $field ),
|
31 |
'show_option_none' => '',
|
32 |
'title_li' => '',
|
33 |
) );
|
core/fieldtypes/class-fieldtypes-radiobutton.php
CHANGED
@@ -27,7 +27,7 @@ class WPBDP_FieldTypes_RadioButton extends WPBDP_Form_Field_Type {
|
|
27 |
'hide_empty' => 0,
|
28 |
'echo' => 0,
|
29 |
'depth' => 0,
|
30 |
-
'walker' => new
|
31 |
'show_option_none' => '',
|
32 |
'title_li' => '',
|
33 |
) );
|
27 |
'hide_empty' => 0,
|
28 |
'echo' => 0,
|
29 |
'depth' => 0,
|
30 |
+
'walker' => new WPBDP_CategoryFormInputWalker( 'radio', $value, $field ),
|
31 |
'show_option_none' => '',
|
32 |
'title_li' => '',
|
33 |
) );
|
languages/WPBDM-de_DE.po
CHANGED
@@ -4921,8 +4921,8 @@ msgid ""
|
|
4921 |
"provided. Go to <a>Manage Options - Licenses</a> to enter your license "
|
4922 |
"information."
|
4923 |
msgstr ""
|
4924 |
-
"Folgende Premium Module funktionieren nicht bis ein Lizenzschlüssel "
|
4925 |
-
"angegeben wurde.
|
4926 |
"Lizenzinformation einzugeben."
|
4927 |
|
4928 |
#: core/licensing.php:254
|
4921 |
"provided. Go to <a>Manage Options - Licenses</a> to enter your license "
|
4922 |
"information."
|
4923 |
msgstr ""
|
4924 |
+
"Folgende Premium Module funktionieren nicht, bis ein gültiger Lizenzschlüssel "
|
4925 |
+
"angegeben wurde. Gehen Sie zu <a>Optionen verwalten - Lizenzen</a>, um Ihre "
|
4926 |
"Lizenzinformation einzugeben."
|
4927 |
|
4928 |
#: core/licensing.php:254
|