[wp-trac] Re: [WordPress Trac] #5232: Get the current action and
current filter name
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 21 03:25:12 GMT 2007
#5232: Get the current action and current filter name
-------------------------+--------------------------------------------------
Reporter: tellyworth | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+--------------------------------------------------
Comment (by darkdragon):
The static approach would have to work like the global one where after the
action is take, it sets the current action to the old one. The reason for
this is for hooks that call other hooks. You would lose the previous
information.
So +1 for mdawaffe's solution, but only if it is combined with
tellyworth's.
--
Ticket URL: <http://trac.wordpress.org/ticket/5232#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list