WordPress.org

Make WordPress Core

Changeset 28015


Ignore:
Timestamp:
04/07/2014 09:43:00 PM (7 years ago)
Author:
DrewAPicture
Message:

PHPDoc fixes for wp_validate_logged_in_cookie(), introduced in 3.9.

See #27700.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r27484 r28015  
    221221
    222222/**
    223  * Validates logged in cookie.
    224  *
    225  * Checks the logged_in cookie if the previous auth cookie could not be
     223 * Validate the logged-in cookie.
     224 *
     225 * Checks the logged-in cookie if the previous auth cookie could not be
    226226 * validated and parsed.
    227227 *
     
    230230 * @since 3.9.0
    231231 *
    232  * @param int|boolean $user The user ID (or false) as received from the determine_current_user filter.
    233  * @return int|boolean User ID if validated, or false otherwise. If it receives a user ID from
    234  *                     an earlier filter callback, that value is returned.
     232 * @param int|bool $user The user ID (or false) as received from the
     233 *                       determine_current_user filter.
     234 * @return int|bool User ID if validated, false otherwise. If a user ID from
     235 *                  an earlier filter callback is received, that value is returned.
    235236 */
    236237function wp_validate_logged_in_cookie( $user_id ) {
Note: See TracChangeset for help on using the changeset viewer.