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
This commit is contained in:
Andrew Nacin 2010-09-07 13:43:32 +00:00
parent 9494e4ce7e
commit 9f77e4b6a0
1 changed files with 3 additions and 0 deletions

View File

@ -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' );