[wp-trac] [WordPress Trac] #20920: Removing all hooks too aggressive if a priority number is given

WordPress Trac noreply at wordpress.org
Wed Dec 31 19:06:32 UTC 2014


#20920: Removing all hooks too aggressive if a priority number is given
--------------------------+---------------------------
 Reporter:  GeertDD       |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  Plugins       |     Version:  3.3.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"31014"]:
 {{{
 #!CommitTicketReference repository="" revision="31014"
 In `remove_all_filters()`, only remove callbacks that match the
 `$priority` parameter.

 Props GeertDD, valendesigns.
 Fixes #20920.
 }}}

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


More information about the wp-trac mailing list