WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/30/2019 02:57:16 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document $error, $interim_login, and $action globals in login_header() and login_footer().

Props priyankabehera155, faisal03, mukesh27, SergeyBiryukov.
Fixes #45777.

File:
1 edited

Legend:

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

    r46603 r46620  
    2727 *
    2828 * @since 2.1.0
     29 *
     30 * @global string      $error         Login error message set by deprecated pluggable wp_login() function
     31 *                                    or plugins replacing it.
     32 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
     33 *                                    upon successful login.
     34 * @global string      $action        The action that brought the visitor to the login page.
    2935 *
    3036 * @param string   $title    Optional. WordPress login Page title to display in the `<title>` element.
     
    269275 *
    270276 * @since 3.1.0
     277 *
     278 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
     279 *                                    upon successful login.
    271280 *
    272281 * @param string $input_id Which input to auto-focus.
Note: See TracChangeset for help on using the changeset viewer.