WordPress.org

Make WordPress Core

Changeset 39757


Ignore:
Timestamp:
01/10/17 12:44:29 (7 months ago)
Author:
SergeyBiryukov
Message:

Docs: Change @param type for $user_object in WP_Users_List_Table::single_row() from object to WP_User to be more accurate.

Props sebastian.pisula.
Fixes #39536.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-users-list-table.php

    r38672 r39757  
    373373     * @access public 
    374374     * 
    375      * @param object $user_object The current user object. 
    376      * @param string $style       Deprecated. Not used. 
    377      * @param string $role        Deprecated. Not used. 
    378      * @param int    $numposts    Optional. Post count to display for this user. Defaults 
    379      *                            to zero, as in, a new user has made zero posts. 
     375     * @param WP_User $user_object The current user object. 
     376     * @param string  $style       Deprecated. Not used. 
     377     * @param string  $role        Deprecated. Not used. 
     378     * @param int     $numposts    Optional. Post count to display for this user. Defaults 
     379     *                             to zero, as in, a new user has made zero posts. 
    380380     * @return string Output for a single row. 
    381381     */ 
Note: See TracChangeset for help on using the changeset viewer.