From 7aede0184da6d2a5bda0414f4e8aa8bd2182e36d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 29 Oct 2025 10:37:34 +0000 Subject: [PATCH] Coding Standards: Simplify the `$_REQUEST['reauth']` check in `wp-login.php`. Follow-up to [14556]. Props wplmillet, audrasjb. Fixes #63147. Built from https://develop.svn.wordpress.org/trunk@61085 git-svn-id: http://core.svn.wordpress.org/trunk@60421 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-login.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 754152004e..f85169bda0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-beta2-61084'; +$wp_version = '6.9-beta2-61085'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index 4900834447..60d9c21f3d 100644 --- a/wp-login.php +++ b/wp-login.php @@ -1318,7 +1318,7 @@ switch ( $action ) { $redirect_to = admin_url(); } - $reauth = empty( $_REQUEST['reauth'] ) ? false : true; + $reauth = ! empty( $_REQUEST['reauth'] ); $user = wp_signon( array(), $secure_cookie );