Changeset 16747 for trunk/wp-admin/menu.php
- Timestamp:
- 12/06/2010 03:41:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r16695 r16747 152 152 153 153 // Add 'Editor' to the bottom of the Appearence menu. 154 add_action('admin_menu', '_add_themes_utility_last', 101); 154 if ( ! is_multisite() ) 155 add_action('admin_menu', '_add_themes_utility_last', 101); 155 156 function _add_themes_utility_last() { 156 157 // Must use API on the admin_menu hook, direct modification is only possible on/before the _admin_menu hook … … 172 173 /* translators: add new plugin */ 173 174 $submenu['plugins.php'][10] = array(_x('Add New', 'plugin'), 'install_plugins', 'plugin-install.php'); 174 $submenu['plugins.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_plugins', 'plugin-editor.php' ); 175 if ( ! is_multisite() ) 176 $submenu['plugins.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_plugins', 'plugin-editor.php' ); 175 177 } 176 178 unset($menu_perms, $update_plugins, $update_count);
Note: See TracChangeset
for help on using the changeset viewer.