Return post_parent, menu_order, guid, and post_mime_type from wp.getPost(). Props maxcutler. fixes #21308
git-svn-id: https://develop.svn.wordpress.org/trunk@21526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8d5d12272d
commit
720ec1cd07
@ -624,7 +624,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'] ) ),
|
||||
|
Loading…
Reference in New Issue
Block a user