Ticket #4315 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Author Changed when Posting From Desktop App

Reported by: iacas Assigned to: rob1n
Priority: normal Milestone: 2.2.1
Component: XML-RPC Version: 2.2
Severity: normal Keywords: author xml-rpc desktop has-patch commit
Cc:

Description

I have a multi-author blog at http://thesandtrap.com/ and, since updating to WordPress 2.2, when I edit and post another author's column from my desktop applications (ecto or MarsEdit), the author is changed to me instead of the original author. I must use the wp-admin interface to re-set the author to the correct author. If I edit and save within wp-admin, the author is not changed.

Permission levels are: me - Administrator. Authors - author.

This worked correctly in all previous 2.x versions.

Attachments

xmlrpc.php-dif (356 bytes) - added by josephscott on 05/22/07 18:36:03.

Change History

05/22/07 16:32:36 changed by ryan

  • owner changed from anonymous to josephscott.

05/22/07 18:07:39 changed by iacas

Line 1153 of "xmlrpc.php" should apparently be changed to:

$post_author = $postdatapost_author?;

05/22/07 18:09:10 changed by iacas

errr.... $post_author = $postdata{"post_author"}; With square brackets instead of curly. An admin can feel free to correct this. Sorry. Should have previewed first.

05/22/07 18:36:03 changed by josephscott

  • attachment xmlrpc.php-dif added.

05/22/07 18:36:42 changed by josephscott

I've confirmed that this is the correct fix. The patch I uploaded makes this change.

05/22/07 18:38:47 changed by foolswisdom

  • keywords changed from author xml-rpc desktop to author xml-rpc desktop has-patch commit.

05/22/07 19:30:30 changed by rob1n

  • owner changed from josephscott to rob1n.
  • status changed from new to assigned.

Unfortunately we can't edit tickets. Ugh.

05/22/07 19:53:16 changed by markjaquith

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [5511]) Prevent current author from claiming authorship of posts from other authors when editing via desktop client. Props Erik Barzeski. fixes #4315 for trunk

05/22/07 19:53:34 changed by markjaquith

(In [5512]) Prevent current author from claiming authorship of posts from other authors when editing via desktop client. Props Erik Barzeski. fixes #4315 for 2.2

05/25/07 13:02:33 changed by iacas

Daniel Jalkut deserves the same if not more credit than I for both this and #4314. He, Joseph Scott, and I tested and confirmed on IRC. I was just the first to file the bugs, and thus wanted to note the fixes quickly so anyone finding the bug via my blog would be sure to see the fix.