From 69a3980bc7d162f467d9fd6d007abc311f0a2cde Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Fri, 17 Aug 2007 13:28:45 +0000 Subject: [PATCH] Switch to init action. Hat tip: westi. See #1476 git-svn-id: https://develop.svn.wordpress.org/trunk@5894 602fd350-edb4-49c9-b593-d223f7449a82 --- 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