[wp-trac] [WordPress Trac] #29070: Calling remove_all_filters() causes has_filter() with no $function_to_check to always return true

WordPress Trac noreply at wordpress.org
Tue Sep 2 06:46:25 UTC 2014


#29070: Calling remove_all_filters() causes has_filter() with no $function_to_check
to always return true
--------------------------+-----------------------------
 Reporter:  pseudoxiah    |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.0
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by pento):

 * keywords:  needs-unit-tests => has-patch


Comment:

 attachment:29070.3.diff removes the nested `current()` call from
 attachment:29070.2.diff, which looks odd and isn't supposed to work.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29070#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list