From 84fb91f38340e22ef8764c554a121622f1934c5a Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 20 Jun 2014 19:18:25 +0000 Subject: [PATCH] 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 --- src/wp-login.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/wp-login.php b/src/wp-login.php index 8828cdb8b9..b0ce298ef2 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -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 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;