Dynamic Widgets - Version 1.5.15

Version Description

When you upgrade manually, do a deactivate - activate cycle of the plugin.

This version has 1 bug fixed.

Download this release

Release Info

Developer qurl
Plugin Icon wp plugin Dynamic Widgets
Version 1.5.15
Comparing to
See all releases

Code changes from version 1.5.14 to 1.5.15

Files changed (3) hide show
  1. classes/dwmodule_class.php +4 -0
  2. dynamic-widgets.php +4 -3
  3. readme.txt +6 -10
classes/dwmodule_class.php CHANGED
@@ -321,6 +321,10 @@
321
  }
322
 
323
  if ( count($t) > 0 && count($t_childs) > 0 ) {
 
 
 
 
324
  $DW->addChilds($widget_id, $dwtype, $_POST[$name], $t, $t_childs);
325
  }
326
  }
321
  }
322
 
323
  if ( count($t) > 0 && count($t_childs) > 0 ) {
324
+ if ( $_POST['pg'] == 'no' ) {
325
+ $_POST['page'] = 'no';
326
+ }
327
+
328
  $DW->addChilds($widget_id, $dwtype, $_POST[$name], $t, $t_childs);
329
  }
330
  }
dynamic-widgets.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://dynamic-widgets.com/
5
  * Description: Dynamic Widgets gives you full control on which pages your widgets will appear. It lets you dynamicly show or hide widgets on WordPress pages.
6
  * Author: Qurl
7
- * Version: 1.5.14
8
  * Author URI: http://www.qurl.nl/
9
  * Tags: widget, widgets, dynamic, sidebar, custom, rules, logic, admin, condition, conditional tags, hide, show, wpml, qtranslate, wpec, buddypress, pods
10
  *
@@ -15,7 +15,7 @@
15
  *
16
  * Released under the GPL v.2, http://www.gnu.org/copyleft/gpl.html
17
  *
18
- * @version $Id: dynamic-widgets.php 2032225 2019-02-16 17:53:18Z qurl $
19
  * @copyright 2017 Jacco Drabbe
20
  *
21
  * Thanks to Alexis Nomine for the contribution of the French (fr_FR) language files, several L10N fixes and change of the edit options UI.
@@ -37,6 +37,7 @@
37
  * Thanks to Mike Epstein to find a vulnerability in the DW settings.
38
  * Thanks to HANNA instruments for the financial contribution to implement the domain name / server name filter feature.
39
  * Thanks to WordPress formm user @fjaeker for finding and debugging a problem in the Pages module since WordPress 5.
 
40
  *
41
  *
42
  * WPML Plugin support via API
@@ -83,7 +84,7 @@
83
  define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
84
  define('DW_TIME_LIMIT', 86400); // 1 day
85
  define('DW_URL_AUTHOR', 'http://www.qurl.nl');
86
- define('DW_VERSION', '1.5.14');
87
  define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
88
  define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
89
 
4
  * Plugin URI: http://dynamic-widgets.com/
5
  * Description: Dynamic Widgets gives you full control on which pages your widgets will appear. It lets you dynamicly show or hide widgets on WordPress pages.
6
  * Author: Qurl
7
+ * Version: 1.5.15
8
  * Author URI: http://www.qurl.nl/
9
  * Tags: widget, widgets, dynamic, sidebar, custom, rules, logic, admin, condition, conditional tags, hide, show, wpml, qtranslate, wpec, buddypress, pods
10
  *
15
  *
16
  * Released under the GPL v.2, http://www.gnu.org/copyleft/gpl.html
17
  *
18
+ * @version $Id: dynamic-widgets.php 2145056 2019-08-25 09:12:42Z qurl $
19
  * @copyright 2017 Jacco Drabbe
20
  *
21
  * Thanks to Alexis Nomine for the contribution of the French (fr_FR) language files, several L10N fixes and change of the edit options UI.
37
  * Thanks to Mike Epstein to find a vulnerability in the DW settings.
38
  * Thanks to HANNA instruments for the financial contribution to implement the domain name / server name filter feature.
39
  * Thanks to WordPress formm user @fjaeker for finding and debugging a problem in the Pages module since WordPress 5.
40
+ * Thanks to WordPress forum user @sovabarmak for finding and fixing a bug in Pages childs as a result of the previous Pages fix
41
  *
42
  *
43
  * WPML Plugin support via API
84
  define('DW_PLUGIN', dirname(__FILE__) . '/' . 'plugin/');
85
  define('DW_TIME_LIMIT', 86400); // 1 day
86
  define('DW_URL_AUTHOR', 'http://www.qurl.nl');
87
+ define('DW_VERSION', '1.5.15');
88
  define('DW_WPML_API', '/inc/wpml-api.php'); // WPML Plugin support - API file relative to ICL_PLUGIN_PATH
89
  define('DW_WPML_ICON', 'img/wpml_icon.png'); // WPML Plugin support - WPML icon
90
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Qurl
3
  Donate link: http://www.qurl.nl/dynamic-widgets/donate/
4
  Tags: widget, dynamic, sidebar, custom, rules, logic, display, condition, hide, show
5
  Requires at least: 3.0.0
6
- Tested up to: 5.0
7
- Stable tag: 1.5.14
8
 
9
  Dynamic Widgets gives you full control on which pages a widget will display. It lets you dynamicly show or hide widgets on WordPress pages.
10
 
@@ -128,10 +128,6 @@ For the latest FAQ, please visit the [online FAQ](http://www.qurl.nl/dynamic-wid
128
  3. Your theme must call `wp_head()`.
129
  4. Minimum of PHP version 5.2.7, PHP 5.3 is highly recommended.
130
 
131
- = My hoster is (still) using PHP4 =
132
-
133
- Sorry, Dynamic Widgets is not compatible with PHP4. Look for another hosting company. The one you're having now don't deserve your money.
134
-
135
  = I'm not sure my theme is calling `wp_head()`. Can I check? =
136
 
137
  Yes, you can. In the Dynamic Widgets Overview page, click the 'Advanced >' link at the bottom. You should see if `wp_head()` is called in your theme. It is possible Dynamic Widgets can't detect if the theme is calling `wp_head()`. Please contact the author of the theme to ask for it. You can also of course just try Dynamic Widgets to see if it works.
@@ -178,10 +174,6 @@ Since version 3.8, WPEC uses the by WordPress provided Custom Post Types and Cus
178
  * Save the text file.
179
  * Remember where you saved it.
180
 
181
- = I have found a bug! Now what? =
182
-
183
- Please check the [Issue Tracker](http://www.qurl.nl/dynamic-widgets/issue-tracker/) first. The bug might have been reported and even maybe already fixed. When not, you can file a [bugreport](http://www.qurl.nl/dynamic-widgets/bugreport/). Please note the procedure how to create a dump in the previous answer. After you've filed the report, I'll get back to you asap.
184
-
185
  = How do I completely remove Dynamic Widgets? =
186
 
187
  * Click at the bottom of the Widgets Overview page on the 'Advanced >' link.
@@ -192,6 +184,10 @@ Please check the [Issue Tracker](http://www.qurl.nl/dynamic-widgets/issue-tracke
192
 
193
  == Changelog ==
194
 
 
 
 
 
195
  = Version 1.5.14 =
196
 
197
  * Bugfix for a problem introduced in WordPress 5 when using the Pages module. Kudo's to @fjaeker for doing debugging for this!
3
  Donate link: http://www.qurl.nl/dynamic-widgets/donate/
4
  Tags: widget, dynamic, sidebar, custom, rules, logic, display, condition, hide, show
5
  Requires at least: 3.0.0
6
+ Tested up to: 5.2
7
+ Stable tag: 1.5.15
8
 
9
  Dynamic Widgets gives you full control on which pages a widget will display. It lets you dynamicly show or hide widgets on WordPress pages.
10
 
128
  3. Your theme must call `wp_head()`.
129
  4. Minimum of PHP version 5.2.7, PHP 5.3 is highly recommended.
130
 
 
 
 
 
131
  = I'm not sure my theme is calling `wp_head()`. Can I check? =
132
 
133
  Yes, you can. In the Dynamic Widgets Overview page, click the 'Advanced >' link at the bottom. You should see if `wp_head()` is called in your theme. It is possible Dynamic Widgets can't detect if the theme is calling `wp_head()`. Please contact the author of the theme to ask for it. You can also of course just try Dynamic Widgets to see if it works.
174
  * Save the text file.
175
  * Remember where you saved it.
176
 
 
 
 
 
177
  = How do I completely remove Dynamic Widgets? =
178
 
179
  * Click at the bottom of the Widgets Overview page on the 'Advanced >' link.
184
 
185
  == Changelog ==
186
 
187
+ = Version 1.5.15 =
188
+
189
+ * Bugfix for Pages childs not being saved anymore and als going into opposite direction. Thanks to @sovabarmak for debugging and fixing!
190
+
191
  = Version 1.5.14 =
192
 
193
  * Bugfix for a problem introduced in WordPress 5 when using the Pages module. Kudo's to @fjaeker for doing debugging for this!