Make WordPress Core

Changeset 61085


Ignore:
Timestamp:
10/29/2025 10:35:07 AM (2 weeks ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Simplify the $_REQUEST['reauth'] check in wp-login.php.

Follow-up to [14556].

Props wplmillet, audrasjb.
Fixes #63147.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r60239 r61085  
    13191319        }
    13201320
    1321         $reauth = empty( $_REQUEST['reauth'] ) ? false : true;
     1321        $reauth = ! empty( $_REQUEST['reauth'] );
    13221322
    13231323        $user = wp_signon( array(), $secure_cookie );
Note: See TracChangeset for help on using the changeset viewer.