Ticket #18869: 18869.diff
File 18869.diff, 1.4 KB (added by , 13 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
527 527 'wp_page_parent_id' => $page->post_parent, 528 528 'wp_page_parent_title' => $parent_title, 529 529 'wp_page_order' => $page->menu_order, 530 'wp_author_id' => $author->ID,530 'wp_author_id' => (string) $author->ID, 531 531 'wp_author_display_name' => $author->display_name, 532 532 'date_created_gmt' => new IXR_Date($page_date_gmt), 533 533 'custom_fields' => $this->get_custom_fields($page_id), … … 2849 2849 'mt_keywords' => $tagnames, 2850 2850 'wp_slug' => $postdata['post_name'], 2851 2851 'wp_password' => $postdata['post_password'], 2852 'wp_author_id' => $author->ID,2852 'wp_author_id' => (string) $author->ID, 2853 2853 'wp_author_display_name' => $author->display_name, 2854 2854 'date_created_gmt' => new IXR_Date($post_date_gmt), 2855 2855 'post_status' => $postdata['post_status'], … … 2959 2959 'mt_keywords' => $tagnames, 2960 2960 'wp_slug' => $entry['post_name'], 2961 2961 'wp_password' => $entry['post_password'], 2962 'wp_author_id' => $author->ID,2962 'wp_author_id' => (string) $author->ID, 2963 2963 'wp_author_display_name' => $author->display_name, 2964 2964 'date_created_gmt' => new IXR_Date($post_date_gmt), 2965 2965 'post_status' => $entry['post_status'],