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
This commit is contained in:
Sergey Biryukov
2025-10-29 10:37:34 +00:00
parent 891e958b23
commit 7aede0184d
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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 );