Make WordPress Core

Ticket #18869: 18869.diff

File 18869.diff, 1.4 KB (added by yoavf, 13 years ago)
  • wp-includes/class-wp-xmlrpc-server.php

     
    527527                                'wp_page_parent_id'             => $page->post_parent,
    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),
    533533                                'custom_fields'                 => $this->get_custom_fields($page_id),
     
    28492849                                'mt_keywords' => $tagnames,
    28502850                                'wp_slug' => $postdata['post_name'],
    28512851                                'wp_password' => $postdata['post_password'],
    2852                                 'wp_author_id' => $author->ID,
     2852                                'wp_author_id' => (string) $author->ID,
    28532853                                'wp_author_display_name'        => $author->display_name,
    28542854                                'date_created_gmt' => new IXR_Date($post_date_gmt),
    28552855                                'post_status' => $postdata['post_status'],
     
    29592959                                'mt_keywords' => $tagnames,
    29602960                                'wp_slug' => $entry['post_name'],
    29612961                                'wp_password' => $entry['post_password'],
    2962                                 'wp_author_id' => $author->ID,
     2962                                'wp_author_id' => (string) $author->ID,
    29632963                                'wp_author_display_name' => $author->display_name,
    29642964                                'date_created_gmt' => new IXR_Date($post_date_gmt),
    29652965                                'post_status' => $entry['post_status'],