[wp-trac] [WordPress Trac] #39007: Impossible to access current priority with WP_Hook
WordPress Trac
noreply at wordpress.org
Fri Dec 2 07:09:34 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 |
-------------------------------------------------+-------------------------
Changes (by pento):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"39430"]:
{{{
#!CommitTicketReference repository="" revision="39430"
Plugins: Add a `current_priority()` method to `WP_Hook`.
This allows plugins to determine the currently running priority of a
filter.
Fixes #39007.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39007#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list