Make WordPress Core

Changeset 58224

Timestamp:
05/28/2024 11:11:19 AM (2 months ago)
Author:
SergeyBiryukov
Message:

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

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

See #60668, #60699.

File:
1 edited

Legend:

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

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