WordPress.org

Make WordPress Core

Changeset 5297


Ignore:
Timestamp:
04/24/07 01:05:17 (8 years ago)
Author:
rob1n
Message:

Widgets for 2.3. fixes #4186

Location:
trunk
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.php

    r4990 r5297  
    6868 
    6969$submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 
     70$submenu['themes.php'][7] = array( __( 'Widgets' ), 'edit_themes', 'widgets.php' ); 
    7071$submenu['themes.php'][10] = array(__('Theme Editor'), 'edit_themes', 'theme-editor.php'); 
    7172 
  • trunk/wp-settings.php

    r4993 r5297  
    169169require (ABSPATH . WPINC . '/deprecated.php'); 
    170170require (ABSPATH . WPINC . '/script-loader.php'); 
     171require (ABSPATH . WPINC . '/widgets.php'); 
    171172 
    172173if (strpos($_SERVER['PHP_SELF'], 'install.php') === false) { 
     
    261262register_shutdown_function('shutdown_action_hook'); 
    262263 
     264// widgets_init() BEFORE init, so plugins that launch on init can  
     265// do stuff with default widgets 
     266wp_widgets_init(); 
     267 
    263268// Everything is loaded and initialized. 
    264269do_action('init'); 
Note: See TracChangeset for help on using the changeset viewer.