Do version check on admin_init. Props DD32. fixes #5928
git-svn-id: https://develop.svn.wordpress.org/trunk@6921 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e0574ed6ac
commit
7e4dea296e
@ -65,6 +65,6 @@ function wp_version_check() {
|
|||||||
update_option( 'update_core', $new_option );
|
update_option( 'update_core', $new_option );
|
||||||
}
|
}
|
||||||
|
|
||||||
add_action( 'init', 'wp_version_check' );
|
add_action( 'admin_init', 'wp_version_check' );
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user