Fix path to xmlrpc. Props MidnighToker. fixes #9516
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bfcca39939
commit
b754b95b9c
|
@ -441,7 +441,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( );
|
||||||
|
@ -1593,7 +1593,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