From 77368330395369f0c19f02bb90e6eeeedd06a647 Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Mon, 7 Apr 2014 21:43:00 +0000 Subject: [PATCH] PHPDoc fixes for `wp_validate_logged_in_cookie()`, introduced in 3.9. See #27700. git-svn-id: https://develop.svn.wordpress.org/trunk@28015 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 453eaa75cf..b9b50dd485 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -220,18 +220,19 @@ function wp_authenticate_spam_check( $user ) { } /** - * Validates logged in cookie. + * Validate the logged-in cookie. * - * Checks the logged_in cookie if the previous auth cookie could not be + * Checks the logged-in cookie if the previous auth cookie could not be * validated and parsed. * * This is a callback for the determine_current_user filter, rather than API. * * @since 3.9.0 * - * @param int|boolean $user The user ID (or false) as received from the determine_current_user filter. - * @return int|boolean User ID if validated, or false otherwise. If it receives a user ID from - * an earlier filter callback, that value is returned. + * @param int|bool $user The user ID (or false) as received from the + * determine_current_user filter. + * @return int|bool User ID if validated, false otherwise. If a user ID from + * an earlier filter callback is received, that value is returned. */ function wp_validate_logged_in_cookie( $user_id ) { if ( $user_id ) {