diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php
index e206152e84..6a283d98e3 100644
|
a
|
b
|
function dbDelta( $queries = '', $execute = true ) { // phpcs:ignore WordPress.N |
| 3201 | 3201 | $fieldtype_base = strtok( $fieldtype_without_parentheses, ' ' ); |
| 3202 | 3202 | |
| 3203 | 3203 | // Is actual field type different from the field type in query? |
| 3204 | | if ( $tablefield->Type !== $fieldtype ) { |
| | 3204 | if ( $tablefield->Type !== $fieldtype_without_parentheses ) { |
| 3205 | 3205 | $do_change = true; |
| 3206 | 3206 | if ( in_array( $fieldtype_lowercased, $text_fields, true ) && in_array( $tablefield_type_lowercased, $text_fields, true ) ) { |
| 3207 | 3207 | if ( array_search( $fieldtype_lowercased, $text_fields, true ) < array_search( $tablefield_type_lowercased, $text_fields, true ) ) { |