From 806f2d56a1534adaa250f21d07602a7ece0c957c Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 7 Sep 2010 13:43:32 +0000 Subject: [PATCH] Only run update checks on the main site. fixes #14554. git-svn-id: http://svn.automattic.com/wordpress/trunk@15591 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/update.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-includes/update.php b/wp-includes/update.php index 1502a4c08..b27b31793 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -334,6 +334,9 @@ function _maybe_update_themes( ) { wp_update_themes(); } +if ( ! is_main_site() ) + return; + add_action( 'admin_init', '_maybe_update_core' ); add_action( 'wp_version_check', 'wp_version_check' );