Admin Menu Editor - Version 1.1.5

Version Description

Download this release

Release Info

Developer whiteshadow
Plugin Icon 128x128 Admin Menu Editor
Version 1.1.5
Comparing to
See all releases

Code changes from version 1.1.4 to 1.1.5

Files changed (3) hide show
  1. includes/menu-editor-core.php +3 -0
  2. menu-editor.php +1 -1
  3. readme.txt +1 -1
includes/menu-editor-core.php CHANGED
@@ -243,6 +243,9 @@ class WPMenuEditor extends MenuEd_ShadowPluginFramework {
243
  * @return array
244
  */
245
  function hook_menu_order($menu_order){
 
 
 
246
  $custom_menu_order = array();
247
  foreach($this->custom_menu as $topmenu){
248
  $filename = $this->get_menu_field($topmenu, 'file');
243
  * @return array
244
  */
245
  function hook_menu_order($menu_order){
246
+ if (empty($this->custom_menu)){
247
+ return $menu_order;
248
+ }
249
  $custom_menu_order = array();
250
  foreach($this->custom_menu as $topmenu){
251
  $filename = $this->get_menu_field($topmenu, 'file');
menu-editor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Admin Menu Editor
4
  Plugin URI: http://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/
5
  Description: Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
6
- Version: 1.1.4
7
  Author: Janis Elsts
8
  Author URI: http://w-shadow.com/blog/
9
  */
3
  Plugin Name: Admin Menu Editor
4
  Plugin URI: http://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/
5
  Description: Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
6
+ Version: 1.1.5
7
  Author: Janis Elsts
8
  Author URI: http://w-shadow.com/blog/
9
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: admin, dashboard, menu, security, wpmu
5
  Requires at least: 3.0
6
  Tested up to: 3.2.1
7
- Stable tag: 1.1.4
8
 
9
  Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
10
 
4
  Tags: admin, dashboard, menu, security, wpmu
5
  Requires at least: 3.0
6
  Tested up to: 3.2.1
7
+ Stable tag: 1.1.5
8
 
9
  Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
10