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:
parent
136dc75c6a
commit
ba24fb82b1
@ -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
Block a user