Fix path to xmlrpc. Props MidnighToker. fixes #9516
git-svn-id: https://develop.svn.wordpress.org/trunk@10932 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2eae08c088
commit
15adf67f37
@ -468,7 +468,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
'url' => get_option( 'home' ) . '/',
|
'url' => get_option( 'home' ) . '/',
|
||||||
'blogid' => $blog_id,
|
'blogid' => $blog_id,
|
||||||
'blogName' => get_option( 'blogname' ),
|
'blogName' => get_option( 'blogname' ),
|
||||||
'xmlrpc' => get_option( 'home' ) . '/xmlrpc.php'
|
'xmlrpc' => site_url( 'xmlrpc.php' )
|
||||||
);
|
);
|
||||||
|
|
||||||
restore_current_blog( );
|
restore_current_blog( );
|
||||||
@ -1601,7 +1601,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
'url' => get_option('home') . '/',
|
'url' => get_option('home') . '/',
|
||||||
'blogid' => '1',
|
'blogid' => '1',
|
||||||
'blogName' => get_option('blogname'),
|
'blogName' => get_option('blogname'),
|
||||||
'xmlrpc' => get_option('home') . '/xmlrpc.php',
|
'xmlrpc' => site_url( 'xmlrpc.php' )
|
||||||
);
|
);
|
||||||
|
|
||||||
return array($struct);
|
return array($struct);
|
||||||
|
Loading…
Reference in New Issue
Block a user