Changeset 23359
- Timestamp:
- 01/31/2013 01:25:26 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r23329 r23359 629 629 'post_type' => $post['post_type'], 630 630 'post_name' => $post['post_name'], 631 'post_author' => $post['post_author'],631 'post_author' => (string) $post['post_author'], 632 632 'post_password' => $post['post_password'], 633 633 'post_excerpt' => $post['post_excerpt'], … … 811 811 $_page = array( 812 812 'dateCreated' => $page_date, 813 'userid' => $page->post_author,813 'userid' => (string) $page->post_author, 814 814 'page_id' => $page->ID, 815 815 'page_status' => $page->post_status, … … 3752 3752 3753 3753 $struct = array( 3754 'userid' =>$post_data['post_author'],3754 'userid' => (string) $post_data['post_author'], 3755 3755 'dateCreated' => $this->_convert_date( $post_data['post_date'] ), 3756 3756 'content' => $content, 3757 'postid' => (string) $post_data['ID']3757 'postid' => (string) $post_data['ID'] 3758 3758 ); 3759 3759 … … 3806 3806 3807 3807 $struct[] = array( 3808 'userid' =>$entry['post_author'],3808 'userid' => (string) $entry['post_author'], 3809 3809 'dateCreated' => $post_date, 3810 'content' => $content,3811 'postid' => (string) $entry['ID'],3810 'content' => $content, 3811 'postid' => (string) $entry['ID'], 3812 3812 ); 3813 3813 … … 4697 4697 $resp = array( 4698 4698 'dateCreated' => $post_date, 4699 'userid' => $postdata['post_author'],4699 'userid' => (string) $postdata['post_author'], 4700 4700 'postid' => $postdata['ID'], 4701 4701 'description' => $post['main'], … … 4811 4811 $struct[] = array( 4812 4812 'dateCreated' => $post_date, 4813 'userid' => $entry['post_author'],4813 'userid' => (string) $entry['post_author'], 4814 4814 'postid' => (string) $entry['ID'], 4815 4815 'description' => $post['main'], … … 5032 5032 $struct[] = array( 5033 5033 'dateCreated' => $post_date, 5034 'userid' => $entry['post_author'],5034 'userid' => (string) $entry['post_author'], 5035 5035 'postid' => (string) $entry['ID'], 5036 5036 'title' => $entry['post_title'],
Note: See TracChangeset
for help on using the changeset viewer.