[wp-trac] [WordPress Trac] #17817: do_action/apply_filters/etc. recursion on same filter kills underlying call

WordPress Trac noreply at wordpress.org
Thu Sep 8 15:26:52 UTC 2016


#17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
----------------------------------------------------+---------------------
 Reporter:  kernfel                                 |       Owner:  pento
     Type:  defect (bug)                            |      Status:  closed
 Priority:  normal                                  |   Milestone:  4.7
Component:  Plugins                                 |     Version:  2.2
 Severity:  normal                                  |  Resolution:  fixed
 Keywords:  has-patch needs-testing has-unit-tests  |     Focuses:
----------------------------------------------------+---------------------

Comment (by danielbachhuber):

 FYI - Because WP-CLI directly modifies the `$wp_filter` global, this
 `WP_Hook` thing breaks the implementation we adopted in #34936. See https
 ://travis-ci.org/wp-cli/wp-cli/jobs/158420911

 If r38282 stays in, I can get around this by requiring `plugins.php` early
 in WP-CLI (#37707) and using `add_action()` and `add_filter()`.

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


More information about the wp-trac mailing list