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.


git-svn-id: https://develop.svn.wordpress.org/trunk@28792 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-06-20 19:18:25 +00:00
parent 304f4f5ba9
commit 84fb91f383

View File

@ -25,10 +25,9 @@ if ( force_ssl_admin() && ! is_ssl() ) {
/**
* Output the login page header.
*
* @param string $title Optional. WordPress Log In Page title to display in <title/> element. Default 'Log In'.
* @param string $message Optional. Message to display in header. Default empty.
* @param string $wp_error Optional. The error to pass. Default empty.
* @param WP_Error $wp_error Optional. WordPress Error Object
* @param string $title Optional. WordPress Log In Page title to display in <title> element. Default 'Log In'.
* @param string $message Optional. Message to display in header. Default empty.
* @param WP_Error $wp_error Optional. The error to pass. Default empty.
*/
function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
global $error, $interim_login, $action;