mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 10:38:22 +01:00
Fix path to xmlrpc. Props MidnighToker. fixes #9516
git-svn-id: https://develop.svn.wordpress.org/branches/2.7@10933 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
47be8e418a
commit
370c089b71
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user