WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/07/2010 01:43:32 PM (9 years ago)
Author:
nacin
Message:

Only run update checks on the main site. fixes #14554.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/update.php

    r15455 r15591  
    335335}
    336336
     337if ( ! is_main_site() )
     338    return;
     339
    337340add_action( 'admin_init', '_maybe_update_core' );
    338341add_action( 'wp_version_check', 'wp_version_check' );
Note: See TracChangeset for help on using the changeset viewer.