WordPress.org

Make WordPress Core

Ticket #7724: patch_wp_includes_update_php_8941.diff

File patch_wp_includes_update_php_8941.diff, 700 bytes (added by tott, 10 years ago)

patch wp-includes/update.php (rev 8941)

  • wp-includes/update.php

     
    273273add_action( 'admin_init', '_maybe_update_themes' );
    274274add_action( 'wp_update_themes', 'wp_update_themes' );
    275275
    276 if ( !wp_next_scheduled('wp_update_plugins') )
     276if ( !wp_next_scheduled('wp_update_plugins') && !defined('WP_INSTALLING') )
    277277        wp_schedule_event(time(), 'twicedaily', 'wp_update_plugins');
    278278
    279279
    280 if ( !wp_next_scheduled('wp_update_themes') )
     280if ( !wp_next_scheduled('wp_update_themes') && !defined('WP_INSTALLING') )
    281281        wp_schedule_event(time(), 'twicedaily', 'wp_update_themes');
    282282
    283283?>