Commit 096bece6 authored by matt's avatar matt

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

git-svn-id: http://svn.automattic.com/wordpress/trunk@5894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 242e21e7
...@@ -46,6 +46,6 @@ function wp_version_check() { ...@@ -46,6 +46,6 @@ function wp_version_check() {
update_option( 'update_core', $new_option ); update_option( 'update_core', $new_option );
} }
wp_version_check(); add_action( 'init', 'wp_version_check' );
?> ?>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment