From 096bece621cc4a2c3f10b78e6eadccc8bf26256c Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 17 Aug 2007 13:28:45 +0000 Subject: [PATCH] Switch to init action. Hat tip: westi. See #1476 git-svn-id: http://svn.automattic.com/wordpress/trunk@5894 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 703def4e88..32c48c4b9c 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -46,6 +46,6 @@ function wp_version_check() { update_option( 'update_core', $new_option ); } -wp_version_check(); +add_action( 'init', 'wp_version_check' ); ?> \ No newline at end of file