[wp-trac] [WordPress Trac] #28142: removing all callbacks from an action results in NULL callback

WordPress Trac noreply at wordpress.org
Sat Jun 28 04:37:49 UTC 2014


#28142: removing all callbacks from an action results in NULL callback
--------------------------+-----------------------------
 Reporter:  sphoid        |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.0
Component:  Plugins       |     Version:  3.8.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28884"]:
 {{{
 #!CommitTicketReference repository="" revision="28884"
 After [28883], `remove_filter()` should set `$GLOBALS['wp_filter'][ $tag
 ]` to `array()` when empty.

 Props wonderboymusic, sphoid.
 Fixes #28142.
 }}}

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


More information about the wp-trac mailing list