Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.3/src/wp-admin/includes/upgrade.php

    r33647 r33950  
    223223        'post_content' => $first_page,
    224224        'post_excerpt' => '',
     225        'comment_status' => 'closed',
    225226        'post_title' => __( 'Sample Page' ),
    226227        /* translators: Default page slug */
     
    15901591    $cron_array = _get_cron_array();
    15911592    if ( isset( $cron_array['wp_batch_split_terms'] ) ) {
    1592         foreach ( $cron_array['wp_batch_split_terms'] as $timestamp_hook => $cron_data ) {
    1593             foreach ( $cron_data as $key => $args ) {
    1594                 wp_unschedule_event( 'wp_batch_split_terms', $timestamp_hook, $args['args'] );
    1595             }
    1596         }
     1593        unset( $cron_array['wp_batch_split_terms'] );
     1594        _set_cron_array( $cron_array );
    15971595    }
    15981596}
Note: See TracChangeset for help on using the changeset viewer.