[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
Mon Jul 24 13:32:14 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 weeblrpress):

 @mgibbs189 @jbrinley

 You're welcome! Yes, that change in WP_Hook::resort_active_iterations()
 makes all the registered action be executed.

 Not withstanding running the full test suite, I didn't see any adverse
 effects either.

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


More information about the wp-trac mailing list