]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-xmlrpc-server.php
WordPress 3.4.2
[autoinstalls/wordpress.git] / wp-includes / class-wp-xmlrpc-server.php
index 3080696ff738be4205e75170732307d68726e295..14b83343b11c4bcf8f00522b969a182eca435542 100644 (file)
@@ -622,7 +622,11 @@ class wp_xmlrpc_server extends IXR_Server {
                        'post_password'     => $post['post_password'],
                        'post_excerpt'      => $post['post_excerpt'],
                        'post_content'      => $post['post_content'],
+                       'post_parent'       => strval( $post['post_parent'] ),
+                       'post_mime_type'    => $post['post_mime_type'],
                        'link'              => post_permalink( $post['ID'] ),
+                       'guid'              => $post['guid'],
+                       'menu_order'        => intval( $post['menu_order'] ),
                        'comment_status'    => $post['comment_status'],
                        'ping_status'       => $post['ping_status'],
                        'sticky'            => ( $post['post_type'] === 'post' && is_sticky( $post['ID'] ) ),