WordPress.org

Make WordPress Core

Ticket #18876: 18876.patch

File 18876.patch, 416 bytes (added by johnbillion, 7 years ago)
  • wp-includes/update.php

     
    395395                wp_schedule_event(time(), 'twicedaily', 'wp_update_themes');
    396396}
    397397
    398 if ( ! is_main_site() )
     398if ( ! is_main_site() and ! is_network_admin() )
    399399        return;
    400400
    401401add_action( 'admin_init', '_maybe_update_core' );