mirror of
https://github.com/WordPress/WordPress.git
synced 2025-04-02 09:55:44 +02:00
Docs: Document $error
, $interim_login
, and $action
globals in login_header()
and login_footer()
.
Props priyankabehera155, faisal03, mukesh27, SergeyBiryukov. Fixes #45777. Built from https://develop.svn.wordpress.org/trunk@46620 git-svn-id: http://core.svn.wordpress.org/trunk@46417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0b94025ba9
commit
e678d5bf28
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-46616';
|
||||
$wp_version = '5.4-alpha-46620';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -27,6 +27,12 @@ if ( force_ssl_admin() && ! is_ssl() ) {
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @global string $error Login error message set by deprecated pluggable wp_login() function
|
||||
* or plugins replacing it.
|
||||
* @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
|
||||
* upon successful login.
|
||||
* @global string $action The action that brought the visitor to the login page.
|
||||
*
|
||||
* @param string $title Optional. WordPress login Page title to display in the `<title>` element.
|
||||
* Default 'Log In'.
|
||||
* @param string $message Optional. Message to display in header. Default empty.
|
||||
@ -269,6 +275,9 @@ function login_header( $title = 'Log In', $message = '', $wp_error = null ) {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
|
||||
* upon successful login.
|
||||
*
|
||||
* @param string $input_id Which input to auto-focus.
|
||||
*/
|
||||
function login_footer( $input_id = '' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user