diff --git a/xmlrpc.php b/xmlrpc.php index 03e2d4c4ed..df724e7b7b 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -441,7 +441,7 @@ class wp_xmlrpc_server extends IXR_Server { 'url' => get_option( 'home' ) . '/', 'blogid' => $blog_id, 'blogName' => get_option( 'blogname' ), - 'xmlrpc' => get_option( 'home' ) . '/xmlrpc.php' + 'xmlrpc' => site_url( 'xmlrpc.php' ) ); restore_current_blog( ); @@ -1593,7 +1593,7 @@ class wp_xmlrpc_server extends IXR_Server { 'url' => get_option('home') . '/', 'blogid' => '1', 'blogName' => get_option('blogname'), - 'xmlrpc' => get_option('home') . '/xmlrpc.php', + 'xmlrpc' => site_url( 'xmlrpc.php' ) ); return array($struct);