Cast to string so we return the correct datatype. See #15517 props barry.

git-svn-id: https://develop.svn.wordpress.org/trunk@16572 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-11-24 17:51:39 +00:00
parent 136dc75c6a
commit ba24fb82b1
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ class wp_xmlrpc_server extends IXR_Server {
$struct[] = array( $struct[] = array(
'isAdmin' => $is_admin, 'isAdmin' => $is_admin,
'url' => get_option( 'home' ) . '/', 'url' => get_option( 'home' ) . '/',
'blogid' => $blog_id, 'blogid' => (string) $blog_id,
'blogName' => get_option( 'blogname' ), 'blogName' => get_option( 'blogname' ),
'xmlrpc' => site_url( 'xmlrpc.php' ) 'xmlrpc' => site_url( 'xmlrpc.php' )
); );