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

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 1 17:43:23 UTC 2010


#15628: Trash_post action runs twice for each call
--------------------------+-------------------------------------------------
 Reporter:  b-rad         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0.2          
 Severity:  normal        |    Keywords:  trash_post     
--------------------------+-------------------------------------------------
 Whenever I run
 {{{
 add_action ( 'trash_post', 'my_trash_post' );
 }}}
 in a plugin, the function being run (e.g. my_trash_post) always runs
 twice. Shouldn't it only run once?

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


More information about the wp-trac mailing list