summaryrefslogtreecommitdiffstats
path: root/wp-includes/wpmu-functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-09-19 16:58:41 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-09-19 16:58:41 +0000
commitfc3782b82d1b3611e7b0752019744a04e6e59140 (patch)
tree546bcfdd8cc46fb86d91c5e910261260e7f48ee9 /wp-includes/wpmu-functions.php
parent71861c0082e2fc0475459ba41d45fe3822854b97 (diff)
downloadwordpress-mu-fc3782b82d1b3611e7b0752019744a04e6e59140.tar.gz
wordpress-mu-fc3782b82d1b3611e7b0752019744a04e6e59140.tar.xz
wordpress-mu-fc3782b82d1b3611e7b0752019744a04e6e59140.zip
Call wp_getUsersBlogs() directly instead of xmlrpc request
git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1487 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/wpmu-functions.php')
-rw-r--r--wp-includes/wpmu-functions.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index 6d5227d..7ce95b8 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -1890,13 +1890,7 @@ XMLRPC getUsersBlogs() for a multiblog environment
http://trac.mu.wordpress.org/attachment/ticket/551/xmlrpc-mu.php
*/
function wpmu_blogger_getUsersBlogs($args) {
- $site_details = get_blog_details( 1, true );
- $domain = $site_details->domain;
- $path = $site_details->path . 'xmlrpc.php';
-
- $rpc = new IXR_Client("http://{$domain}{$path}");
- $rpc->query('wp.getUsersBlogs', $args[1], $args[2]);
- $blogs = $rpc->getResponse();
+ $blogs = wp_getUsersBlogs( $args );
if ( isset($blogs['faultCode']) ) {
return new IXR_Error($blogs['faultCode'], $blogs['faultString']);