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

WordPress Trac noreply at wordpress.org
Tue Apr 2 03:16:33 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  |
-------------------------------------+-----------------------

Comment (by nacin):

 Replying to [comment:84 azaozz]:
 > In 16215-15.patch:
 >
 > - Move the call to `_wp_upgrade_revisions_of_post()` to
 `wp_get_post_revisions()` and run it after getting the revisions and
 checking their version, once per post.

 While I'd tend to think that wp_get_post_revisions() should be accurate
 and thus is a great place to run the upgrade code, that also means we
 might be running upgrade code — that does write operations that requires a
 lock — on the frontend. No bueno.

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


More information about the wp-trac mailing list