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

WordPress Trac noreply at wordpress.org
Sat Apr 6 23:59:32 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 azaozz):

 > ...first call to wp_insert_post() inserts the first revision. But, this
 should not happen on auto-drafts.

 `wp_save_post_revision()` short-circuits on `'auto-draft' ==
 $post->post_status`, so that's working properly. Wondering if we should
 remove and re-add the action in get_default_post_to_edit() anyway.

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


More information about the wp-trac mailing list