[wp-trac] [WordPress Trac] #15628: Trash_post action runs twice for each call

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 14 18:39:33 UTC 2011


#15628: Trash_post action runs twice for each call
------------------------------------+---------------------
 Reporter:  b-rad                   |       Owner:  ryan
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  3.3
Component:  General                 |     Version:  2.9
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [18974]:
 {{{
 #!CommitTicketReference repository="" revision="18974"
 In wp_trash_post(), rename the trash_post action to wp_trash_post to avoid
 collision with the wp_transition_post_status() trash_post state
 transition. Props SergeyBiryukov. fixes #15628
 }}}

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


More information about the wp-trac mailing list