[wp-trac] [WordPress Trac] #34715: transition_post_status does not fire when untrashing a post

WordPress Trac noreply at wordpress.org
Thu Nov 19 16:05:54 UTC 2015


#34715: transition_post_status does not fire when untrashing a post
-------------------------------+----------------------
 Reporter:  SeBsZ              |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  4.3.1
 Severity:  normal             |  Resolution:  invalid
 Keywords:                     |     Focuses:
-------------------------------+----------------------

Comment (by SeBsZ):

 I confirm that there is no bug. This was actually caused by a series of
 recursive functions firing which at one point contained a

 {{{#!php
 <?php
 remove_action('transition_post_status', 'my_publish_post', 1);
 }}}

 No wonder the action didn't fire. I apologize for any time I wasted, but
 thanks for looking into this!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34715#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list