[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 Aug 12 14:46:47 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:
--------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"29472"]:
 {{{
 #!CommitTicketReference repository="" revision="29472"
 After [29422], make sure the internal array counter is not reset for the
 `$wp_filter` global.

 Props kovshenin.
 See #29070.
 }}}

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


More information about the wp-trac mailing list