WordPress.org

Make WordPress Core

Changeset 19071


Ignore:
Timestamp:
10/27/2011 06:36:49 PM (7 years ago)
Author:
ryan
Message:

Cast author IDs to strings. Props yoavf. fixes #18869

File:
1 edited

Legend:

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

    r18933 r19071  
    528528                'wp_page_parent_title'  => $parent_title,
    529529                'wp_page_order'         => $page->menu_order,
    530                 'wp_author_id'          => $author->ID,
     530                'wp_author_id'          => (string) $author->ID,
    531531                'wp_author_display_name'    => $author->display_name,
    532532                'date_created_gmt'      => new IXR_Date($page_date_gmt),
     
    28512851                'wp_slug' => $postdata['post_name'],
    28522852                'wp_password' => $postdata['post_password'],
    2853                 'wp_author_id' => $author->ID,
     2853                'wp_author_id' => (string) $author->ID,
    28542854                'wp_author_display_name'    => $author->display_name,
    28552855                'date_created_gmt' => new IXR_Date($post_date_gmt),
     
    29612961                'wp_slug' => $entry['post_name'],
    29622962                'wp_password' => $entry['post_password'],
    2963                 'wp_author_id' => $author->ID,
     2963                'wp_author_id' => (string) $author->ID,
    29642964                'wp_author_display_name' => $author->display_name,
    29652965                'date_created_gmt' => new IXR_Date($post_date_gmt),
Note: See TracChangeset for help on using the changeset viewer.