Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#4315 closed defect (bug) (fixed)

Author Changed when Posting From Desktop App

Reported by: iacas's profile iacas Owned by: rob1n's profile rob1n
Milestone: 2.2.1 Priority: normal
Severity: normal Version: 2.2
Component: XML-RPC Keywords: author xml-rpc desktop has-patch commit
Focuses: 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 (1)

xmlrpc.php-dif (356 bytes) - added by josephscott 18 years ago.

Download all attachments as: .zip

Change History (10)

#1 @ryan
18 years ago

  • Owner changed from anonymous to josephscott

#2 @iacas
18 years ago

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

$post_author = $postdatapost_author?;

#3 @iacas
18 years ago

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.

#4 @josephscott
18 years ago

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

#5 @foolswisdom
18 years ago

  • Keywords has-patch commit added

#6 @rob1n
18 years ago

  • Owner changed from josephscott to rob1n
  • Status changed from new to assigned

Unfortunately we can't edit tickets. Ugh.

#7 @markjaquith
18 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(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

#8 @markjaquith
18 years ago

(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

#9 @iacas
18 years ago

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.

Note: See TracTickets for help on using tickets.