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:
parent
39de969bf2
commit
a25e03f833
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue