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:
parent
9c9a8cb0fa
commit
b0d6453462
|
@ -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' )
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue