WordPress.org

Make WordPress Core

Changeset 33621


Ignore:
Timestamp:
08/17/2015 02:28:03 PM (3 years ago)
Author:
boonebgorges
Message:

Don't run term-splitting routine on new installations.

Props pento.
Fixes #30261.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r32643 r33621  
    497497    // 3.5
    498498    'link_manager_enabled' => 0,
     499
     500    // 4.3.0
     501    'finished_splitting_shared_terms' => 1,
    499502    );
    500503
  • trunk/src/wp-admin/includes/upgrade.php

    r33615 r33621  
    15081508    // Shared terms are split in a separate process.
    15091509    if ( $wp_current_db_version < 32814 ) {
     1510        update_option( 'finished_splitting_shared_terms', 0 );
    15101511        wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_split_shared_term_batch' );
    15111512    }
Note: See TracChangeset for help on using the changeset viewer.