[wp-trac] [WordPress Trac] #40393: Using remove_action within an action callback skips over execution of other callbacks with lower priority

WordPress Trac noreply at wordpress.org
Fri Jul 21 20:49:08 UTC 2017


#40393: Using remove_action within an action callback skips over execution of other
callbacks with lower priority
--------------------------+------------------------------
 Reporter:  weeblrpress   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:
 Severity:  major         |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------

Comment (by mgibbs189):

 @jbrinley Makes sense, thank you.  That explains why, in
 `WP_Hook::remove_filter()` method, moving the unset() to after
 `resort_active_iterations` fixed the issue (sort of).

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


More information about the wp-trac mailing list