WordPress.org

Make WordPress Core

Changeset 5337


Ignore:
Timestamp:
04/28/2007 12:36:04 AM (15 years ago)
Author:
ryan
Message:

Kick widgets init from init hook.

Location:
branches/2.2
Files:
2 edited

Legend:

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

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

    r5294 r5337  
    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.