Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #32127, comment 15


Ignore:
Timestamp:
05/16/2015 12:33:45 AM (10 years ago)
Author:
BearlyDoug
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32127, comment 15

    initial v1  
    33That being said, [attachment:32127.3.diff] probably needs to be adjusted to account for Wordpress 4.2.2. The fix indicated for line 530 needs to be changed to start on line 536.
    44
    5 Lines 527 through lines 535 in src/wp-admin/includes/upgrade.php are quoted below:
     5Lines 527 through lines 534 in src/wp-admin/includes/upgrade.php are quoted below:
    66
    7 >        // Don't harsh my mellow. upgrade_422() must be called before
    8 >        // upgrade_420() to catch bad comments prior to any auto-expansion of
    9 >        // MySQL column widths.             
    10 >        if ( $wp_current_db_version < 31534 )
    11 >                upgrade_422();               
    12 >
    13 >        if ( $wp_current_db_version < 31351 )
    14 >                upgrade_420();     
    15 >
     7
     8{{{
     9        // Don't harsh my mellow. upgrade_422() must be called before
     10        // upgrade_420() to catch bad comments prior to any auto-expansion of
     11        // MySQL column widths.             
     12        if ( $wp_current_db_version < 31534 )
     13                upgrade_422();               
     14
     15        if ( $wp_current_db_version < 31351 )
     16                upgrade_420();
     17}}}