[wp-trac] [WordPress Trac] #39007: Impossible to access current priority with WP_Hook

WordPress Trac noreply at wordpress.org
Fri Dec 2 07:10:57 UTC 2016


#39007: Impossible to access current priority with WP_Hook
-------------------------------------------------+-------------------------
 Reporter:  Rarst                                |       Owner:  pento
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7
Component:  Plugins                              |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  dev-reviewed                                   |
-------------------------------------------------+-------------------------

Comment (by pento):

 In [changeset:"39431"]:
 {{{
 #!CommitTicketReference repository="" revision="39431"
 Plugins: Add a `current_priority()` method to `WP_Hook`.

 This allows plugins to determine the currently running priority of a
 filter.

 Merges [39430] to the 4.7 branch.

 Fixes #39007.
 }}}

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


More information about the wp-trac mailing list