Skip to content

Commit 65fb422

Browse files
Coding Standards: Simplify the $_REQUEST['reauth'] check in wp-login.php.
Follow-up to [14556]. Props wplmillet, audrasjb. Fixes #63147. git-svn-id: https://develop.svn.wordpress.org/trunk@61085 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 781fb28 commit 65fb422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ function wp_login_viewport_meta() {
13181318
$redirect_to = admin_url();
13191319
}
13201320

1321-
$reauth = empty( $_REQUEST['reauth'] ) ? false : true;
1321+
$reauth = ! empty( $_REQUEST['reauth'] );
13221322

13231323
$user = wp_signon( array(), $secure_cookie );
13241324

0 commit comments

Comments
 (0)