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:
parent
242e21e732
commit
096bece621
|
@ -46,6 +46,6 @@ function wp_version_check() {
|
|||
update_option( 'update_core', $new_option );
|
||||
}
|
||||
|
||||
wp_version_check();
|
||||
add_action( 'init', 'wp_version_check' );
|
||||
|
||||
?>
|
Loading…
Reference in New Issue