Move wp_cron from shutdown hook to init. It was acting all funky (in the bad way) in the shutdown hook.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-02-20 21:07:17 +00:00
parent 0cda0d89f0
commit decf6ec071
2 changed files with 1 additions and 1 deletions

View File

@@ -217,7 +217,6 @@ if ( file_exists(TEMPLATEPATH . "/functions.php") )
function shutdown_action_hook() {
do_action('shutdown');
wp_cron();
wp_cache_close();
}
register_shutdown_function('shutdown_action_hook');