Custom Menu Wizard Widget - Version 2.0.3

Version Description

  • bugfix : missing global when enqueuing scripts and styles for admin
Download this release

Release Info

Developer wizzud
Plugin Icon 128x128 Custom Menu Wizard Widget
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

custom-menu-wizard.css CHANGED
@@ -1,6 +1,6 @@
1
  /**
2
  * custom-menu-wizard.css
3
- * Version: 2.0.2
4
  */
5
  /*widget admin style...*/
6
  /*NB .widget-content class is not present in accessibility mode*/
1
  /**
2
  * custom-menu-wizard.css
3
+ * Version: 2.0.3
4
  */
5
  /*widget admin style...*/
6
  /*NB .widget-content class is not present in accessibility mode*/
custom-menu-wizard.js CHANGED
@@ -1,5 +1,5 @@
1
  /* Plugin Name: Custom Menu Wizard
2
- * Version: 2.0.2
3
  * Author: Roger Barrett
4
  *
5
  * Script for controlling this widget's options (in Admin -> Widgets)
1
  /* Plugin Name: Custom Menu Wizard
2
+ * Version: 2.0.3
3
  * Author: Roger Barrett
4
  *
5
  * Script for controlling this widget's options (in Admin -> Widgets)
custom-menu-wizard.min.js CHANGED
@@ -1,5 +1,5 @@
1
  /* Plugin Name: Custom Menu Wizard
2
- * Version: 2.0.2
3
  * Author: Roger Barrett
4
  *
5
  * Script for controlling this widget's options (in Admin -> Widgets)
1
  /* Plugin Name: Custom Menu Wizard
2
+ * Version: 2.0.3
3
  * Author: Roger Barrett
4
  *
5
  * Script for controlling this widget's options (in Admin -> Widgets)
custom-menu-wizard.php CHANGED
@@ -3,13 +3,16 @@
3
  * Plugin Name: Custom Menu Wizard
4
  * Plugin URI: http://wordpress.org/plugins/custom-menu-wizard/
5
  * Description: Show any part of a custom menu in a Widget, or in content using a Shortcode. Customise the output with extra classes or html; filter by current menu item or a specific item; set a depth, show the parent(s), change the list style, etc. Use the included emulator to assist with the filter settings.
6
- * Version: 2.0.2
7
  * Author: Roger Barrett
8
  * Author URI: http://www.wizzud.com/
9
  * License: GPL2+
10
  */
11
 
12
  /*
 
 
 
13
  * v2.0.2 change log:
14
  * - fixed bug where Include Ancestors was not automatically including the Parent
15
  * - fixed bug where the "assist" was incorrectly calculating Depth Relative to Current Item when the current menu item was outside the scope of the Filtered items
@@ -56,7 +59,7 @@
56
  * - moved the setting of 'disabled' attributes on INPUTs/SELECTs from PHP into javascript
57
  */
58
 
59
- $Custom_Menu_Wizard_Widget_Version = '2.0.2';
60
 
61
  /**
62
  * registers the widget and adds the shortcode
@@ -71,7 +74,7 @@ add_action('widgets_init', 'custom_menu_wizard_register_widget');
71
  * enqueues script file for the widget admin
72
  */
73
  function custom_menu_wizard_widget_admin_script(){
74
- global $wp_scripts;
75
  wp_enqueue_style('custom-menu-wizard-plugin-styles', plugins_url('/custom-menu-wizard.css', __FILE__), array(), $Custom_Menu_Wizard_Widget_Version);
76
  wp_enqueue_script('custom-menu-wizard-plugin-script', plugins_url('/custom-menu-wizard.min.js', __FILE__), array('jquery-ui-dialog'), $Custom_Menu_Wizard_Widget_Version);
77
  if( !wp_style_is( 'jquery-ui', 'registered' ) ) {
3
  * Plugin Name: Custom Menu Wizard
4
  * Plugin URI: http://wordpress.org/plugins/custom-menu-wizard/
5
  * Description: Show any part of a custom menu in a Widget, or in content using a Shortcode. Customise the output with extra classes or html; filter by current menu item or a specific item; set a depth, show the parent(s), change the list style, etc. Use the included emulator to assist with the filter settings.
6
+ * Version: 2.0.3
7
  * Author: Roger Barrett
8
  * Author URI: http://www.wizzud.com/
9
  * License: GPL2+
10
  */
11
 
12
  /*
13
+ * v2.0.3 change log:
14
+ * - fixed bug with missing global when enqueuing scripts and styles for admin page
15
+ *
16
  * v2.0.2 change log:
17
  * - fixed bug where Include Ancestors was not automatically including the Parent
18
  * - fixed bug where the "assist" was incorrectly calculating Depth Relative to Current Item when the current menu item was outside the scope of the Filtered items
59
  * - moved the setting of 'disabled' attributes on INPUTs/SELECTs from PHP into javascript
60
  */
61
 
62
+ $Custom_Menu_Wizard_Widget_Version = '2.0.3';
63
 
64
  /**
65
  * registers the widget and adds the shortcode
74
  * enqueues script file for the widget admin
75
  */
76
  function custom_menu_wizard_widget_admin_script(){
77
+ global $wp_scripts, $Custom_Menu_Wizard_Widget_Version;
78
  wp_enqueue_style('custom-menu-wizard-plugin-styles', plugins_url('/custom-menu-wizard.css', __FILE__), array(), $Custom_Menu_Wizard_Widget_Version);
79
  wp_enqueue_script('custom-menu-wizard-plugin-script', plugins_url('/custom-menu-wizard.min.js', __FILE__), array('jquery-ui-dialog'), $Custom_Menu_Wizard_Widget_Version);
80
  if( !wp_style_is( 'jquery-ui', 'registered' ) ) {
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wizzud
3
  Tags: menu,widget,widgets,navigation,nav,custom menus,custom menu,partial menu,menu level,menu branch
4
  Requires at least: 3.0.1
5
- Tested up to: 3.6
6
- Stable tag: 2.0.2
7
  License: GPLv2 or Later
8
 
9
  Show branches or levels of your menu in a widget, or in content using a shortcode, with full customisation.
@@ -489,6 +489,10 @@ It was a close call, but since the Output options can extend the final list - an
489
 
490
  == Changelog ==
491
 
 
 
 
 
492
  = 2.0.2 =
493
 
494
  * bugfix : the Include Ancestors option was not automatically including the Parent
@@ -575,6 +579,10 @@ Initial release
575
 
576
  == Upgrade Notice ==
577
 
 
 
 
 
578
  = 2.0.2 =
579
 
580
  Fixed a bug with the Include Ancestors option, where it was not automatically including the Parent.
2
  Contributors: wizzud
3
  Tags: menu,widget,widgets,navigation,nav,custom menus,custom menu,partial menu,menu level,menu branch
4
  Requires at least: 3.0.1
5
+ Tested up to: 3.7.1
6
+ Stable tag: 2.0.3
7
  License: GPLv2 or Later
8
 
9
  Show branches or levels of your menu in a widget, or in content using a shortcode, with full customisation.
489
 
490
  == Changelog ==
491
 
492
+ = 2.0.3 =
493
+
494
+ * bugfix : missing global when enqueuing scripts and styles for admin
495
+
496
  = 2.0.2 =
497
 
498
  * bugfix : the Include Ancestors option was not automatically including the Parent
579
 
580
  == Upgrade Notice ==
581
 
582
+ = 2.0.3 =
583
+
584
+ Fixed a minor bug with a missing global when enqueuing script and style for the admin.
585
+
586
  = 2.0.2 =
587
 
588
  Fixed a bug with the Include Ancestors option, where it was not automatically including the Parent.