Changeset 13783
- Timestamp:
- 03/21/2010 01:01:45 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/menu.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r13745 r13783 142 142 add_action('admin_menu', '_add_themes_utility_last', 101); 143 143 function _add_themes_utility_last() { 144 global $submenu;145 $submenu['themes.php'][] = array(_x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php');144 // Must use API on the admin_menu hook, direct modification is only possible on/before the _admin_menu hook 145 add_submenu_page('themes.php', _x('Editor', 'theme editor'), _x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php'); 146 146 } 147 147
Note: See TracChangeset
for help on using the changeset viewer.