From c07571de6761774c358b3c07f85e155300843817 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 10 Jan 2017 12:45:44 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-users-list-table.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/includes/class-wp-users-list-table.php b/wp-admin/includes/class-wp-users-list-table.php index 3b7795dfab..8c80e9070d 100644 --- a/wp-admin/includes/class-wp-users-list-table.php +++ b/wp-admin/includes/class-wp-users-list-table.php @@ -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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 667618c1ef..a54dfee311 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.