WordPress.org

Make WordPress Core

Changeset 32440


Ignore:
Timestamp:
05/07/2015 01:10:05 AM (6 years ago)
Author:
mdawaffe
Message:

Upgrade: Since MySQL may auto-expand column widths when changing a column's character set, we must do our length-based comment checks prior to the character set changes.

Props jorbin, et alii.

See #32165.

File:
1 edited

Legend:

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

    r32429 r32440  
    525525        upgrade_400();
    526526
     527    // Don't harsh my mellow. upgrade_430() must be called before
     528    // upgrade_420() to catch bad comments prior to any auto-expansion of
     529    // MySQL column widths.
     530    if ( $wp_current_db_version < 32364 )
     531        upgrade_430();
     532
    527533    if ( $wp_current_db_version < 31351 )
    528534        upgrade_420();
    529 
    530     if ( $wp_current_db_version < 32364 )
    531         upgrade_430();
    532535
    533536    maybe_disable_link_manager();
Note: See TracChangeset for help on using the changeset viewer.