From e0e9db30d7c4a64af5213048725357e6c623751c Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 20 Feb 2008 00:16:44 +0000 Subject: [PATCH] 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 --- wp-includes/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/update.php b/wp-includes/update.php index 05a28dc0ae..593adfe76f 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -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' ); ?> \ No newline at end of file