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

WordPress Trac noreply at wordpress.org
Wed Jan 23 20:50:49 UTC 2013


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

Comment (by adamsilverstein):

 the function [http://core.trac.wordpress.org/browser/trunk/wp-includes
 /post-template.php#L1376 wp_list_post_revisionsL1376] was checking if (
 $parent ), otherwise removing top revision from list. this must be legacy
 code, could there be a use case or is this all internal?

 didn't want to remove that check, so for now, my patch sets parent to true
 before calling wp_list_post_revisions(). this fixes the meta box for all
 my test posts, created before after patch etc.

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


More information about the wp-trac mailing list