[wp-trac] [WordPress Trac] #16215: Post Revision history displays the incorrect author
WordPress Trac
noreply at wordpress.org
Wed Mar 27 14:25: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):
[attachment:16215.11.diff 16215.11.diff] fixes an issue where the 1st
revision saved after applying had the wrong post_author (unless you had an
autosave) - this was the replacement missing current revision; removed
post_updated action, instead wp_save_post_revision in
_wp_upgrade_revisions_of_post;
tests below use sequence admin, user1, user2, upgrade, admin...
before newest patch, note 185 is off:
[[Image(http://f.cl.ly/items/0r1S0e1S0H2M143Z031y/beforelatest.png)]]
here is data from same sequence, now looks good
[[Image(http://f.cl.ly/items/2H1h0s0k1h3x182u3f1s/withcurrent.png)]]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16215#comment:63>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list