From 1ec860298d98ea047f5c52b4b9015d82af14704a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 13 Sep 2014 22:23:12 +0000 Subject: [PATCH] Correct @return value for WP_User_Query::get_total(). props jesin. fixes #29656. git-svn-id: https://develop.svn.wordpress.org/trunk@29744 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index af0286457f..141fff35b3 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -846,7 +846,7 @@ class WP_User_Query { * @since 3.1.0 * @access public * - * @return array Array of total users. + * @return int Number of total users. */ public function get_total() { return $this->total_users;