WordPress.org

Make WordPress Core

Changeset 16572


Ignore:
Timestamp:
11/24/10 17:51:39 (3 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r16508 r16572  
    420420                'isAdmin'       => $is_admin, 
    421421                'url'           => get_option( 'home' ) . '/', 
    422                 'blogid'        => $blog_id, 
     422                'blogid'        => (string) $blog_id, 
    423423                'blogName'      => get_option( 'blogname' ), 
    424424                'xmlrpc'        => site_url( 'xmlrpc.php' ) 
Note: See TracChangeset for help on using the changeset viewer.