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
This commit is contained in:
parent
5a20c05d27
commit
806f2d56a1
|
@ -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' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue