diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 206761aaef..fe6822d210 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1106,7 +1106,7 @@ if ( ! function_exists( 'check_admin_referer' ) ) : * 0-12 hours ago, 2 if the nonce is valid and generated between 12-24 hours ago. */ function check_admin_referer( $action = -1, $query_arg = '_wpnonce' ) { - if ( -1 == $action ) { + if ( -1 === $action ) { _doing_it_wrong( __FUNCTION__, __( 'You should specify a nonce action to be verified by using the first parameter.' ), '3.2.0' ); } @@ -1125,7 +1125,7 @@ if ( ! function_exists( 'check_admin_referer' ) ) : */ do_action( 'check_admin_referer', $action, $result ); - if ( ! $result && ! ( -1 == $action && strpos( $referer, $adminurl ) === 0 ) ) { + if ( ! $result && ! ( -1 === $action && strpos( $referer, $adminurl ) === 0 ) ) { wp_nonce_ays( $action ); die(); } diff --git a/wp-includes/version.php b/wp-includes/version.php index e53607b467..76be1c0883 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta3-46476'; +$wp_version = '5.3-beta3-46477'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.