Make WordPress Core

Changeset 30666


Ignore:
Timestamp:
11/30/2014 10:10:12 PM (10 years ago)
Author:
wonderboymusic
Message:

Improve the @param docs for src/wp-includes/user.php.

See #30224.

File:
1 edited

Legend:

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

    r30656 r30666  
    2020 * @since 2.5.0
    2121 *
    22  * @param array $credentials Optional. User info in order to sign on.
    23  * @param bool $secure_cookie Optional. Whether to use secure cookie.
     22 * @param array       $credentials  Optional. User info in order to sign on.
     23 * @param string|bool $secure_cookie Optional. Whether to use secure cookie.
    2424 * @return WP_User|WP_Error WP_User on success, WP_Error on failure.
    2525 */
     
    230230 * @since 3.9.0
    231231 *
    232  * @param int|bool $user The user ID (or false) as received from the
     232 * @param int|bool $user_id The user ID (or false) as received from the
    233233 *                       determine_current_user filter.
    234234 * @return int|bool User ID if validated, false otherwise. If a user ID from
     
    346346 * @param string $option     User option name.
    347347 * @param int    $user       Optional. User ID.
    348  * @param bool  $deprecated Use get_option() to check for an option in the options table.
     348 * @param string $deprecated Use get_option() to check for an option in the options table.
    349349 * @return mixed User option value on success, false on failure.
    350350 */
     
    486486     * @since 3.1.0
    487487     *
    488      * @param string|array $args Optional. The query variables.
     488     * @param null|string|array $args Optional. The query variables.
    489489     * @return WP_User_Query
    490490     */
     
    20412041 * @access private
    20422042 *
    2043  * @param object $user WP_User instance.
     2043 * @param WP_User $user WP_User instance.
    20442044 * @return array
    20452045 */
Note: See TracChangeset for help on using the changeset viewer.