Make WordPress Core

Changeset 5336


Ignore:
Timestamp:
04/28/2007 12:35:47 AM (17 years ago)
Author:
ryan
Message:

Kick widgets init from init hook.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r5236 r5336  
    174174add_action('mce_options', '_mce_set_direction');
    175175add_action('init', 'smilies_init', 5);
     176add_action('init', 'wp_widgets_init', 1);
    176177?>
  • trunk/wp-settings.php

    r5313 r5336  
    262262register_shutdown_function('shutdown_action_hook');
    263263
    264 // widgets_init() BEFORE init, so plugins that launch on init can
    265 // do stuff with default widgets
    266 wp_widgets_init();
    267 
    268264// Everything is loaded and initialized.
    269265do_action('init');
Note: See TracChangeset for help on using the changeset viewer.