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:
ryan 2009-04-14 19:15:21 +00:00
parent bfcca39939
commit b754b95b9c
1 changed files with 2 additions and 2 deletions

View File

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