From d80104976caed2cd65e671a5236349a811d40dee Mon Sep 17 00:00:00 2001 From: whyisjake Date: Thu, 29 Oct 2020 17:46:06 +0000 Subject: [PATCH] Coding Standards: Use a strict comparison operator when comparing values. Props batmoo, mukesh27. Built from https://develop.svn.wordpress.org/branches/5.5@49381 git-svn-id: http://core.svn.wordpress.org/branches/5.5@49140 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/meta.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/meta.php b/wp-includes/meta.php index 1c0fdc4a3e..679ff6a3b5 100644 --- a/wp-includes/meta.php +++ b/wp-includes/meta.php @@ -1160,7 +1160,7 @@ function _get_meta_table( $type ) { */ function is_protected_meta( $meta_key, $meta_type = '' ) { $sanitized_key = preg_replace( "/[^\x20-\x7E\p{L}]/", '', $meta_key ); - $protected = strlen( $sanitized_key ) > 0 && ( '_' == $sanitized_key[0] ); + $protected = strlen( $sanitized_key ) > 0 && ( '_' === $sanitized_key[0] ); /** * Filters whether a meta key is considered protected. diff --git a/wp-includes/version.php b/wp-includes/version.php index a8530fa730..2eb67eaf41 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5.2-alpha-49379'; +$wp_version = '5.5.2-alpha-49381'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.