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:
parent
9494e4ce7e
commit
9f77e4b6a0
|
@ -334,6 +334,9 @@ function _maybe_update_themes( ) {
|
||||||
wp_update_themes();
|
wp_update_themes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( ! is_main_site() )
|
||||||
|
return;
|
||||||
|
|
||||||
add_action( 'admin_init', '_maybe_update_core' );
|
add_action( 'admin_init', '_maybe_update_core' );
|
||||||
add_action( 'wp_version_check', 'wp_version_check' );
|
add_action( 'wp_version_check', 'wp_version_check' );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue