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