Make WordPress Core

Ticket #30261: 30261.21.diff

File 30261.21.diff, 832 bytes (added by boonebgorges, 9 years ago)
  • src/wp-admin/includes/schema.php

    diff --git src/wp-admin/includes/schema.php src/wp-admin/includes/schema.php
    index 95ee375..8c84054 100644
    function populate_options() { 
    496496
    497497        // 3.5
    498498        'link_manager_enabled' => 0,
     499
     500        // 4.3.0
     501        'finished_splitting_shared_terms' => 1,
    499502        );
    500503
    501504        // 3.3
  • src/wp-admin/includes/upgrade.php

    diff --git src/wp-admin/includes/upgrade.php src/wp-admin/includes/upgrade.php
    index e7d7dd7..cb4d63d 100644
    function upgrade_430() { 
    15071507
    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        }
    15121513