mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 16:21:26 +01:00
Do version check on admin_init. Props DD32. fixes #5928
git-svn-id: http://svn.automattic.com/wordpress/trunk@6921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1ff305a90c
commit
e0e9db30d7
@ -65,6 +65,6 @@ function wp_version_check() {
|
||||
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