WordPress.org

Make WordPress Core

Ticket #7724: wp-includes_update.patch

File wp-includes_update.patch, 516 bytes (added by rdworth, 6 years ago)
  • wp-includes/update.php

     
    176176add_action( 'admin_init', '_maybe_update_plugins' ); 
    177177add_action( 'wp_update_plugins', 'wp_update_plugins' ); 
    178178 
    179 if ( !wp_next_scheduled('wp_update_plugins') ) 
     179if ( !defined('WP_INSTALLING') && !wp_next_scheduled('wp_update_plugins') ) 
    180180        wp_schedule_event(time(), 'twicedaily', 'wp_update_plugins'); 
    181181 
    182182?>