[wp-trac] [WordPress Trac] #40906: apply_filters skip all handlers in the next priority, when remove_filter is called
WordPress Trac
noreply at wordpress.org
Sat Jun 3 14:28:16 UTC 2017
#40906: apply_filters skip all handlers in the next priority, when remove_filter is
called
--------------------------+------------------------------
Reporter: wvega | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by wvega):
My patch is causing other problems. If you expect `isset( $wp_filter[
'some_tag' ] )` to be `false` after all filters/actions have been removed,
then the patch breaks that feature.
I'll try to come up with a better approach.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40906#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list