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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-11-24 17:51:39 +00:00
parent 9c9a8cb0fa
commit b0d6453462
1 changed files with 1 additions and 1 deletions

View File

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