In `wp_xmlrpc_server::mw_editPost`, also set `$post_type = $postdata['post_type']`.

See #22400, [28448].


Built from https://develop.svn.wordpress.org/trunk@28453


git-svn-id: http://core.svn.wordpress.org/trunk@28280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-16 18:06:15 +00:00
parent 39de969bf2
commit a25e03f833
1 changed files with 1 additions and 0 deletions

View File

@ -4734,6 +4734,7 @@ class wp_xmlrpc_server extends IXR_Server {
$post_excerpt = $postdata['post_excerpt'];
$post_password = $postdata['post_password'];
$post_parent = $postdata['post_parent'];
$post_type = $postdata['post_type'];
$menu_order = $postdata['menu_order'];
// Let WordPress manage slug if none was provided.