Widgets for 2.3. fixes #4186

git-svn-id: https://develop.svn.wordpress.org/trunk@5297 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n
2007-04-24 01:05:17 +00:00
parent 01dad3491e
commit ffc63c60e3
7 changed files with 2413 additions and 1 deletions

View File

@@ -168,6 +168,7 @@ require (ABSPATH . WPINC . '/cron.php');
require (ABSPATH . WPINC . '/version.php');
require (ABSPATH . WPINC . '/deprecated.php');
require (ABSPATH . WPINC . '/script-loader.php');
require (ABSPATH . WPINC . '/widgets.php');
if (strpos($_SERVER['PHP_SELF'], 'install.php') === false) {
// Used to guarantee unique hash cookies
@@ -260,7 +261,11 @@ function shutdown_action_hook() {
}
register_shutdown_function('shutdown_action_hook');
// widgets_init() BEFORE init, so plugins that launch on init can
// do stuff with default widgets
wp_widgets_init();
// Everything is loaded and initialized.
do_action('init');
?>
?>