From 3c0b16429e2084ba79b44569d4bf3ee0116d0cb6 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Tue, 22 May 2007 19:53:33 +0000 Subject: [PATCH] Prevent current author from claiming authorship of posts from other authors when editing via desktop client. Props Erik Barzeski. fixes #4315 for 2.2 git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5512 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- xmlrpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlrpc.php b/xmlrpc.php index 1294cb59fd..82971df49f 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -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(