Make WordPress Core

Changeset 32431

Timestamp:
05/06/2015 11:12:19 PM (9 years ago)
Author:
mdawaffe
Message:

Upgrade: $wpdb->get_col_length() sanity check: bail on unexpected return value.

Merges [32429] for the 4.1 branch.

See #32165.

File:
1 edited

Legend:

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

    r32419 r32431  
    13501350    if ( $wp_current_db_version < 30135 ) {
    13511351        $content_length = $wpdb->get_col_length( $wpdb->comments, 'comment_content' );
     1352
     1353
     1354
     1355
     1356
    13521357        if ( false === $content_length ) {
    13531358            $content_length = array(
Note: See TracChangeset for help on using the changeset viewer.