Docs: Clarify that the `$wp_error` parameter of `login_header()` is nullable.

Follow-up to [7991], [25701], [28792], [43457], [58209], [58220].

See #60668, #60699.
Built from https://develop.svn.wordpress.org/trunk@58224


git-svn-id: http://core.svn.wordpress.org/trunk@57687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-05-28 11:13:12 +00:00
parent bd5882e27b
commit 61b45944d1
2 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.6-alpha-58223';
$wp_version = '6.6-alpha-58224';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -33,10 +33,10 @@ if ( force_ssl_admin() && ! is_ssl() ) {
* upon successful login.
* @global string $action The action that brought the visitor to the login page.
*
* @param null|string $title Optional. WordPress login Page title to display in the `<title>` element.
* Default null, which displays 'Log In'.
* @param string $message Optional. Message to display in header. Default empty.
* @param WP_Error $wp_error Optional. The error to pass. Default is a WP_Error instance.
* @param string|null $title Optional. WordPress login page title to display in the `<title>` element.
* Defaults to 'Log In'.
* @param string $message Optional. Message to display in header. Default empty.
* @param WP_Error|null $wp_error Optional. The error to pass. Defaults to a WP_Error instance.
*/
function login_header( $title = null, $message = '', $wp_error = null ) {
global $error, $interim_login, $action;