In wp_xmlrpc_server::mw_editPost
, also set $post_type = $postdata['post_type']
.
See #22400, [28448]. git-svn-id: https://develop.svn.wordpress.org/trunk@28453 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ec17088ff6
commit
61d2e52e4b
@ -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
Block a user