Ticket #18715: update-patch.diff

File update-patch.diff, 424 bytes (added by joostdevalk, 20 months ago)

Patch

  • wp-includes/update.php

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