Switch to init action. Hat tip: westi. See #1476

git-svn-id: http://svn.automattic.com/wordpress/trunk@5894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2007-08-17 13:28:45 +00:00
parent 242e21e732
commit 096bece621
1 changed files with 1 additions and 1 deletions

View File

@ -46,6 +46,6 @@ function wp_version_check() {
update_option( 'update_core', $new_option );
}
wp_version_check();
add_action( 'init', 'wp_version_check' );
?>