mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@21664 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3221,9 +3221,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
global $current_blog;
|
||||
$domain = $current_blog->domain;
|
||||
$path = $current_blog->path . 'xmlrpc.php';
|
||||
$protocol = is_ssl() ? 'https' : 'http';
|
||||
|
||||
$rpc = new IXR_Client("$protocol://{$domain}{$path}");
|
||||
$rpc = new IXR_Client( set_url_scheme( "http://{$domain}{$path}" ) );
|
||||
$rpc->query('wp.getUsersBlogs', $args[1], $args[2]);
|
||||
$blogs = $rpc->getResponse();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user