[wp-trac] [WordPress Trac] #17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
WordPress Trac
noreply at wordpress.org
Fri Sep 9 00:33:54 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:
----------------------------------------------------+---------------------
Changes (by pento):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"38582"]:
{{{
#!CommitTicketReference repository="" revision="38582"
Tests: Use `add_filter()` when it's available.
The `tests_add_filter()` helper function directly manipulates the
`$wp_filter` global, instead of using `add_filter()`. We can use
`add_filter()` when it's available, and fall back to manipulating
`$wp_filter` when it isn't, relying on the `$wp_filter` bootstrap code at
the top of `plugin.php` to handle conversion.
Props boonebgorges, dd32 and pento: WordPress Thought Leadership
Triumvirate.
Fixes #17817.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17817#comment:236>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list