Switch to init action. Hat tip: westi. See #1476
git-svn-id: https://develop.svn.wordpress.org/trunk@5894 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dcf28dced7
commit
69a3980bc7
|
@ -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' );
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue