Version Description
- Fixed: Widget hotfix.
Download this release
Release Info
Developer | mattsay |
Plugin | Dropdown Menu Widget |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
- readme.txt +4 -1
- shailan.DropDownMenu.php +6 -6
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://shailan.com/donate
|
|
4 |
Tags: css, dropdown, menu, widget, pages, categories, multi, jquery, navigation, category list, themes, custom-styles, options-page, animations, effects
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.1
|
7 |
-
Stable tag: 1.7.
|
8 |
|
9 |
This widget adds a beatiful vertical/horizontal CSS only dropdown menu of Pages, Categories or Custom navigation menus of your blog.
|
10 |
|
@@ -47,6 +47,9 @@ You can submit errors and bugs using the [online form](http://shailan.com/contac
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
50 |
= 1.7.1 =
|
51 |
* Fixed: Template tag hotfix. Fixes displaying vertical instead of horizontal.
|
52 |
|
4 |
Tags: css, dropdown, menu, widget, pages, categories, multi, jquery, navigation, category list, themes, custom-styles, options-page, animations, effects
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.1
|
7 |
+
Stable tag: 1.7.2
|
8 |
|
9 |
This widget adds a beatiful vertical/horizontal CSS only dropdown menu of Pages, Categories or Custom navigation menus of your blog.
|
10 |
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 1.7.2 =
|
51 |
+
* Fixed: Widget hotfix.
|
52 |
+
|
53 |
= 1.7.1 =
|
54 |
* Fixed: Template tag hotfix. Fixes displaying vertical instead of horizontal.
|
55 |
|
shailan.DropDownMenu.php
CHANGED
@@ -4,13 +4,13 @@ Plugin Name: Dropdown Menu Widget
|
|
4 |
Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
|
5 |
Description: A multi widget to generate drop-down menus from your pages, categories & navigation menus. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
|
6 |
Tags: dropdown, menu, css, css-dropdown, navigation, widget, dropdown-menu, customization, theme, jquery, template, multi-color, theme
|
7 |
-
Version: 1.7.
|
8 |
Author: Matt Say
|
9 |
Author URI: http://shailan.com
|
10 |
Text Domain: shailan-dropdown-menu
|
11 |
*/
|
12 |
|
13 |
-
define('VERSION', '1.7.
|
14 |
|
15 |
class shailan_DropdownWidget extends WP_Widget {
|
16 |
|
@@ -289,10 +289,10 @@ function options_page(){
|
|
289 |
extract( $widget_options, EXTR_SKIP );
|
290 |
|
291 |
// On and off
|
292 |
-
$show_title = (bool) $show_title;
|
293 |
-
$orientation = ($vertical ? 'dropdown-vertical' : 'dropdown-horizontal');
|
294 |
$custom_walkers = false; // (bool) get_option('shailan_dm_customwalkers'); disabled
|
295 |
-
$show_empty = (bool)
|
296 |
|
297 |
$width = (int) $width;
|
298 |
|
@@ -456,7 +456,7 @@ function options_page(){
|
|
456 |
<?php
|
457 |
}
|
458 |
|
459 |
-
function update($new_instance, $old_instance) {
|
460 |
return $new_instance;
|
461 |
}
|
462 |
|
4 |
Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
|
5 |
Description: A multi widget to generate drop-down menus from your pages, categories & navigation menus. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
|
6 |
Tags: dropdown, menu, css, css-dropdown, navigation, widget, dropdown-menu, customization, theme, jquery, template, multi-color, theme
|
7 |
+
Version: 1.7.2
|
8 |
Author: Matt Say
|
9 |
Author URI: http://shailan.com
|
10 |
Text Domain: shailan-dropdown-menu
|
11 |
*/
|
12 |
|
13 |
+
define('VERSION', '1.7.2');
|
14 |
|
15 |
class shailan_DropdownWidget extends WP_Widget {
|
16 |
|
289 |
extract( $widget_options, EXTR_SKIP );
|
290 |
|
291 |
// On and off
|
292 |
+
$show_title = (bool) ( 'on' == $show_title );
|
293 |
+
$orientation = ( (bool) ( 'on' == $vertical) ? 'dropdown-vertical' : 'dropdown-horizontal');
|
294 |
$custom_walkers = false; // (bool) get_option('shailan_dm_customwalkers'); disabled
|
295 |
+
$show_empty = (bool) ( 'on' == $this->get_plugin_setting('shailan_dm_show_empty') );
|
296 |
|
297 |
$width = (int) $width;
|
298 |
|
456 |
<?php
|
457 |
}
|
458 |
|
459 |
+
function update($new_instance, $old_instance) {
|
460 |
return $new_instance;
|
461 |
}
|
462 |
|