From 9f77e4b6a033dd0de58cce34d2479dbf8dc14bdf Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@15591 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/update.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-includes/update.php b/wp-includes/update.php index 1502a4c08b..b27b317931 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' );