Make WordPress Core

Changeset 31228


Ignore:
Timestamp:
01/17/2015 05:19:57 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Pass $force_reauth value to the 'login_url' filter.

props jfarthing84, MikeHansenMe.
fixes #31015.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r31203 r31228  
    348348     * @since 2.8.0
    349349     *
    350      * @param string $login_url The login URL.
    351      * @param string $redirect  The path to redirect to on login, if supplied.
    352      */
    353     return apply_filters( 'login_url', $login_url, $redirect );
     350     * @param string $login_url    The login URL.
     351     * @param string $redirect     The path to redirect to on login, if supplied.
     352     * @param bool   $force_reauth Whether to force reauthorization, even if a cookie is present.
     353     */
     354    return apply_filters( 'login_url', $login_url, $redirect, $force_reauth );
    354355}
    355356
Note: See TracChangeset for help on using the changeset viewer.