[wp-trac] [WordPress Trac] #14994: Introduce a way to identify a hook in progress

WordPress Trac noreply at wordpress.org
Sat Feb 8 01:26:20 UTC 2014


#14994: Introduce a way to identify a hook in progress
------------------------------------------+------------------
 Reporter:  nacin                         |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  3.9
Component:  Plugins                       |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+------------------
Changes (by nacin):

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


Comment:

 [attachment:14994.4.diff] changed how these functions were supposed to
 work. They are not merely a different way of checking the current filter.
 They are for checking if a filter is in progress. Filters can be nested to
 create a "stack" — this is to check if the filter is anywhere in the
 stack. 14994.3.diff seems better.

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


More information about the wp-trac mailing list