diff --git a/wp-comments-post.php b/wp-comments-post.php index fe03cb7296..86c758cc0a 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -5,9 +5,9 @@ * @package WordPress */ -if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { +if ( 'POST' !== $_SERVER['REQUEST_METHOD'] ) { $protocol = $_SERVER['SERVER_PROTOCOL']; - if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ) ) ) { + if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ), true ) ) { $protocol = 'HTTP/1.0'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 815463d881..d88b8d130b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47027'; +$wp_version = '5.4-alpha-47028'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.