Login and Registration: login_header() docblock update after [58209].

This changeset indicates that the `$title` parameter is now nullable.

Follow-up to [58209].

Props skithund.
Fixes #60668.



Built from https://develop.svn.wordpress.org/trunk@58220


git-svn-id: http://core.svn.wordpress.org/trunk@57683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2024-05-27 21:32:13 +00:00
parent 407584f9ef
commit 477e688d1c
2 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.6-alpha-58219';
$wp_version = '6.6-alpha-58220';
/**
* 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 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 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.
*/
function login_header( $title = null, $message = '', $wp_error = null ) {
global $error, $interim_login, $action;