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:
Ryan Boren 2009-04-14 19:15:21 +00:00
parent 47be8e418a
commit 370c089b71

View File

@ -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);