Make WordPress Core


Ignore:
Timestamp:
02/16/2016 11:49:43 PM (8 years ago)
Author:
azaozz
Message:

Comments: look for wp_error when checking whether $wpdb->get_col_length() has failed.

See #10377.

File:
1 edited

Legend:

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

    r36514 r36542  
    973973
    974974            // No point if we can't get the DB column lengths
    975             if ( $col_length === false ) {
     975            if ( is_wp_error( $col_length ) ) {
    976976                break;
    977977            }
Note: See TracChangeset for help on using the changeset viewer.