[wp-trac] [WordPress Trac] #17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
WordPress Trac
noreply at wordpress.org
Mon Nov 25 18:00:31 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: Future
Component: Plugins | Release
Severity: normal | Version: 3.4.1
Keywords: has-patch needs-testing dev- | Resolution:
feedback |
-------------------------------------------------+-------------------------
Comment (by jbrinley):
Replying to [comment:37 rzen]:
> The patch attached to #26239 is a clean and lightweight solution to the
issue at hand. I'm certainly not opposed to a more robust rewrite — there
are many benefits to be gained no doubt — but it would be great if we
could fix the issue first, then iterate and improve from there.
Just like all the other solutions that make a copy of the array,
http://core.trac.wordpress.org/attachment/ticket/26239/26239.patch is not
backwards compatible. You can't modify callbacks for a filter while it is
running.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17817#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list