WordPress.org

Make WordPress Core

Changeset 21708


Ignore:
Timestamp:
09/03/12 22:12:14 (20 months ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

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

    r21138 r21708  
    623623            'post_excerpt'      => $post['post_excerpt'], 
    624624            'post_content'      => $post['post_content'], 
     625            'post_parent'       => strval( $post['post_parent'] ), 
     626            'post_mime_type'    => $post['post_mime_type'], 
    625627            'link'              => post_permalink( $post['ID'] ), 
     628            'guid'              => $post['guid'], 
     629            'menu_order'        => intval( $post['menu_order'] ), 
    626630            'comment_status'    => $post['comment_status'], 
    627631            'ping_status'       => $post['ping_status'], 
Note: See TracChangeset for help on using the changeset viewer.