diff --git a/wp-includes/class-wp-list-util.php b/wp-includes/class-wp-list-util.php index fbc171e0c6..c394f2c613 100644 --- a/wp-includes/class-wp-list-util.php +++ b/wp-includes/class-wp-list-util.php @@ -116,16 +116,12 @@ class WP_List_Util { foreach ( $args as $m_key => $m_value ) { if ( is_array( $obj ) ) { // Treat object as an array. - if ( array_key_exists( $m_key, $obj ) - && ( (string) $m_value === (string) $obj[ $m_key ] ) - ) { + if ( array_key_exists( $m_key, $obj ) && ( $m_value == $obj[ $m_key ] ) ) { $matched++; } } elseif ( is_object( $obj ) ) { // Treat object as an object. - if ( isset( $obj->{$m_key} ) - && ( (string) $m_value === (string) $obj->{$m_key} ) - ) { + if ( isset( $obj->{$m_key} ) && ( $m_value == $obj->{$m_key} ) ) { $matched++; } } @@ -280,7 +276,7 @@ class WP_List_Util { continue; } - if ( (string) $a[ $field ] === (string) $b[ $field ] ) { + if ( $a[ $field ] == $b[ $field ] ) { continue; } diff --git a/wp-includes/version.php b/wp-includes/version.php index ae190400a1..cbf35e4d80 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-beta3-56137'; +$wp_version = '6.3-beta3-56138'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.