From 5727b51538fbcb682beacf44c7f622588252ca85 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 13 Sep 2014 22:24:17 +0000 Subject: [PATCH] Correct @return value for WP_User_Query::get_total(). props jesin. fixes #29656. Built from https://develop.svn.wordpress.org/trunk@29744 git-svn-id: http://core.svn.wordpress.org/trunk@29518 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index af0286457f..141fff35b3 100644 --- a/wp-includes/user.php +++ b/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;