WordPress.org

Make WordPress Core

Changeset 21526


Ignore:
Timestamp:
08/15/12 16:06:05 (20 months ago)
Author:
ryan
Message:

Return post_parent, menu_order, guid, and post_mime_type from wp.getPost(). Props maxcutler. fixes #21308

File:
1 edited

Legend:

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

    r21485 r21526  
    625625            'post_excerpt'      => $post['post_excerpt'], 
    626626            'post_content'      => $post['post_content'], 
     627            'post_parent'       => strval( $post['post_parent'] ), 
     628            'post_mime_type'    => $post['post_mime_type'], 
    627629            'link'              => post_permalink( $post['ID'] ), 
     630            'guid'              => $post['guid'], 
     631            'menu_order'        => intval( $post['menu_order'] ), 
    628632            'comment_status'    => $post['comment_status'], 
    629633            'ping_status'       => $post['ping_status'], 
Note: See TracChangeset for help on using the changeset viewer.