[wp-trac] Re: [WordPress Trac] #4235: Improve did_action to show information on callers.

WordPress Trac wp-trac at lists.automattic.com
Thu May 10 10:32:57 GMT 2007


#4235: Improve did_action to show information on callers.
---------------------------------------+------------------------------------
 Reporter:  majelbstoat                |        Owner:  anonymous
     Type:  enhancement                |       Status:  new      
 Priority:  normal                     |    Milestone:  2.4      
Component:  General                    |      Version:  2.2      
 Severity:  trivial                    |   Resolution:           
 Keywords:  did_action caller filters  |  
---------------------------------------+------------------------------------
Comment (by majelbstoat):

 That's an excellent question.  I kind of had it in my mind that WordPress
 would 'just know', but of course it won't.  I guess it could possibly be
 done using debug_backtrace() but that kind of sucks.  Might be that
 there's no way to get this done, which is a shame because it would be
 good...  The next time I write a plugin system, I'm going to put a domain
 argument in the equivalent add_filter() functions.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4235#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list