Make WordPress Core


Ignore:
Timestamp:
06/20/2014 07:18:25 PM (10 years ago)
Author:
wonderboymusic
Message:

Don't annotate $wp_error twice in login_header() docs. $wp_error is always expected to be of type WP_Error.

Props SergeyBiryukov.
Fixes #28518.

File:
1 edited

Legend:

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

    r28609 r28792  
    2626 * Output the login page header.
    2727 *
    28  * @param string $title    Optional. WordPress Log In Page title to display in <title/> element. Default 'Log In'.
    29  * @param string $message  Optional. Message to display in header. Default empty.
    30  * @param string $wp_error Optional. The error to pass. Default empty.
    31  * @param WP_Error $wp_error Optional. WordPress Error Object
     28 * @param string   $title    Optional. WordPress Log In Page title to display in <title> element. Default 'Log In'.
     29 * @param string   $message  Optional. Message to display in header. Default empty.
     30 * @param WP_Error $wp_error Optional. The error to pass. Default empty.
    3231 */
    3332function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
Note: See TracChangeset for help on using the changeset viewer.