[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 11:23:35 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 dougwollison):
Replying to [comment:218 noplanman]:
> @jacobsantos
>
> > I still think it is funny that this whole thing could be solved with
one line
>
> For learning sake, what fix are you referring to?
> One line really isn't a big change and I'd really like to understand how
it would fix this issue properly.
If I had to guess, something like what me and others have proposed over
the years in our duplicate tickets. Namely, copying the hooks list for a
tag to a new variable and iterating over that. But it's been pointed out
there are apparently performance issues with that solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17817#comment:219>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list