Skip to content

Commit

Permalink
Login and Registration: login_header() docblock update after [58209].
Browse files Browse the repository at this point in the history
This changeset indicates that the `$title` parameter is now nullable.

Follow-up to [58209].

Props skithund.
Fixes #60668.




git-svn-id: https://develop.svn.wordpress.org/trunk@58220 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed May 27, 2024
1 parent 3d90f51 commit aa34065
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/wp-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
* 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;
Expand Down

0 comments on commit aa34065

Please sign in to comment.