Changeset 5294
- Timestamp:
- 04/22/2007 11:27:40 PM (18 years ago)
- Location:
- branches/2.2
- Files:
-
- 5 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-admin/menu.php
r4990 r5294 68 68 69 69 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 70 $submenu['themes.php'][7] = array( __( 'Widgets' ), 'edit_themes', 'widgets.php' ); 70 71 $submenu['themes.php'][10] = array(__('Theme Editor'), 'edit_themes', 'theme-editor.php'); 71 72 -
branches/2.2/wp-settings.php
r4993 r5294 169 169 require (ABSPATH . WPINC . '/deprecated.php'); 170 170 require (ABSPATH . WPINC . '/script-loader.php'); 171 require (ABSPATH . WPINC . '/widgets.php'); 171 172 172 173 if (strpos($_SERVER['PHP_SELF'], 'install.php') === false) { … … 261 262 register_shutdown_function('shutdown_action_hook'); 262 263 264 // widgets_init() BEFORE init, so plugins that launch on init can 265 // do stuff with default widgets 266 wp_widgets_init(); 267 263 268 // Everything is loaded and initialized. 264 269 do_action('init');
Note: See TracChangeset
for help on using the changeset viewer.