diff --git a/wp-includes/rest-api/class-wp-rest-request.php b/wp-includes/rest-api/class-wp-rest-request.php index 0910ff6f28..1661ce724e 100644 --- a/wp-includes/rest-api/class-wp-rest-request.php +++ b/wp-includes/rest-api/class-wp-rest-request.php @@ -310,7 +310,7 @@ public function get_content_type() { } $value = strtolower( $value ); - if ( strpos( $value, '/' ) === false ) { + if ( false === strpos( $value, '/' ) ) { return null; } diff --git a/wp-includes/version.php b/wp-includes/version.php index a4726526ad..aac6f1ccbe 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46652'; +$wp_version = '5.4-alpha-46654'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.