fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]

git-svn-id: https://develop.svn.wordpress.org/trunk@15567 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu
2010-09-05 14:49:52 +00:00
parent ef3ee6e841
commit 9344ecc8b5
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ function wp_list_authors($args = '') {
$return = '';
/** @todo Move select to get_authors(). */
$users = get_users_of_blog();
$users = get_users();
$author_ids = array();
foreach ( (array) $users as $user )
$author_ids[] = $user->user_id;
+1 -1
View File
@@ -572,7 +572,7 @@ function get_users( $args ) {
* @return array List of users that are part of that Blog ID
*/
function get_users_of_blog( $id = '' ) {
global $wpdb, $blog_id;
global $blog_id;
if ( empty($id) )
$id = (int) $blog_id;