[wp-trac] [WordPress Trac] #17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
WordPress Trac
noreply at wordpress.org
Fri May 17 10:24:15 UTC 2013
#17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
----------------------------------------+-----------------------
Reporter: kernfel | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.6
Component: Plugins | Version: 3.4.1
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests |
----------------------------------------+-----------------------
Comment (by Denis-de-Bernardy):
Replying to [comment:17 jbrinley]:
> I don't agree with this change. If you move to a foreach loop, you'll
lose the ability to add another callback to the same hook with a later
priority.
> (...)
> I had always assumed that having this ability was a conscious design
decision, not a bug. Removing it would definitely break some plugins.
Hold... Are you seriously arguing that we should continue to live with
breaking much about every plugin that hooks after akismet in the name of
backwards compatibility? :-) (see #9968, which is the exact same issue.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17817#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list