Make WordPress Core


Ignore:
Timestamp:
05/27/2024 09:30:14 PM (5 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

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

    r58209 r58220  
    3434 * @global string      $action        The action that brought the visitor to the login page.
    3535 *
    36  * @param string  $title    Optional. WordPress login Page title to display in the `<title>` element.
    37  *                           Default null, which displays 'Log In'.
    38  * @param string   $message  Optional. Message to display in header. Default empty.
    39  * @param WP_Error $wp_error Optional. The error to pass. Default is a WP_Error instance.
     36 * @param null|string $title    Optional. WordPress login Page title to display in the `<title>` element.
     37 *                              Default null, which displays 'Log In'.
     38 * @param string      $message  Optional. Message to display in header. Default empty.
     39 * @param WP_Error    $wp_error Optional. The error to pass. Default is a WP_Error instance.
    4040 */
    4141function login_header( $title = null, $message = '', $wp_error = null ) {
Note: See TracChangeset for help on using the changeset viewer.