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. Built from https://develop.svn.wordpress.org/trunk@39757 git-svn-id: http://core.svn.wordpress.org/trunk@39695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9234febe06
commit
c07571de67
|
@ -372,11 +372,11 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||
* @since 4.4.0 The `$role` parameter was deprecated.
|
||||
* @access public
|
||||
*
|
||||
* @param object $user_object The current user object.
|
||||
* @param string $style Deprecated. Not used.
|
||||
* @param string $role Deprecated. Not used.
|
||||
* @param int $numposts Optional. Post count to display for this user. Defaults
|
||||
* to zero, as in, a new user has made zero posts.
|
||||
* @param WP_User $user_object The current user object.
|
||||
* @param string $style Deprecated. Not used.
|
||||
* @param string $role Deprecated. Not used.
|
||||
* @param int $numposts Optional. Post count to display for this user. Defaults
|
||||
* to zero, as in, a new user has made zero posts.
|
||||
* @return string Output for a single row.
|
||||
*/
|
||||
public function single_row( $user_object, $style = '', $role = '', $numposts = 0 ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-39756';
|
||||
$wp_version = '4.8-alpha-39757';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue