diff --git a/wp-includes/http.php b/wp-includes/http.php index a8468ca17c..b48c3b1cb7 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -372,7 +372,7 @@ function wp_http_supports( $capabilities = array(), $url = null ) { $count = count( $capabilities ); // If we have a numeric $capabilities array, spoof a wp_remote_request() associative $args array. - if ( $count && count( array_filter( array_keys( $capabilities ), 'is_numeric' ) ) == $count ) { + if ( $count && count( array_filter( array_keys( $capabilities ), 'is_numeric' ) ) === $count ) { $capabilities = array_combine( array_values( $capabilities ), array_fill( 0, $count, true ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index bee9ffe618..53e106143c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55649'; +$wp_version = '6.3-alpha-55650'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.