mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
The `$user_total` member of `WP_User_Query`, and corresponding `get_total()` method, have always been documented as returning an `int`. `$user_total`, however, is populated by `$wpdb->get_var()`, which returns a string (containing an integer value). Casting the return value from `get_var()` as an `int` rectifies this discrepency. Props runciters. Fixes #39297. git-svn-id: https://develop.svn.wordpress.org/trunk@39915 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| author.php | ||
| capabilities.php | ||
| countUserPosts.php | ||
| countUsers.php | ||
| dateQuery.php | ||
| getActiveBlogForUser.php | ||
| listAuthors.php | ||
| mapMetaCap.php | ||
| multisite.php | ||
| query.php | ||
| session.php | ||
| slashes.php | ||
| updateUserCaches.php | ||
| wpAuthenticateSpamCheck.php | ||
| wpDeleteUser.php | ||
| wpDropdownUsers.php | ||
| wpGetUsersWithNoRole.php | ||
| wpSetCurrentUser.php | ||