mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Prevent current author from claiming authorship of posts from other authors when editing via desktop client. Props Erik Barzeski. fixes #4315 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
634a33c206
commit
9a75737897
@ -1150,7 +1150,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
$menu_order = $content_struct["wp_page_order"];
|
||||
}
|
||||
|
||||
$post_author = $user->ID;
|
||||
$post_author = $postdata["post_author"];
|
||||
|
||||
// Only set the post_author if one is set.
|
||||
if(
|
||||
|
Loading…
x
Reference in New Issue
Block a user