diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 8515113f78..1e9dda5b9e 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -1448,6 +1448,11 @@ function upgrade_430() { if ( $wp_current_db_version < 32364 ) { $content_length = $wpdb->get_col_length( $wpdb->comments, 'comment_content' ); + + if ( is_wp_error( $content_length ) ) { + return; + } + if ( false === $content_length ) { $content_length = array( 'type' => 'byte',