[wp-trac] [WordPress Trac] #16215: Post Revision history displays the incorrect author

WordPress Trac noreply at wordpress.org
Thu Mar 28 04:53:48 UTC 2013


#16215: Post Revision history displays the incorrect author
-------------------------------------+-----------------------
 Reporter:  mdawaffe                 |       Owner:  westi
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  3.6
Component:  Revisions                |     Version:  2.6
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |
-------------------------------------+-----------------------
Changes (by azaozz):

 * keywords:  dev-feedback needs-testing has-patch => needs-testing has-
               patch


Comment:

 In 16215-13.patch:

 - Always update the revision version when updating the post authors.
 - Check if revisions have been updated and return early in
 _wp_upgrade_revisions_of_post().
 - Update the revisions by direct query to avoid resetting `post_modified`
 in wp_update_post() and making all revisions show as saved right now. A
 lower level API would have been good here :)
 - Removed copying the post to a revision when no revisions exist. Can be
 added after this conversion if needed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16215#comment:68>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list