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

WordPress Trac wp-trac at lists.automattic.com
Sun May 13 05:10:24 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):

 In fact, can't we just add support for a domain argument to add_filter,
 add_action?  Plugins that don't use it would just be added as 'unknown'
 for backcompat.  Plugins that do would be able to specify a string
 'mydomain', which could be queried providing a manner of reflection
 showing which plugins called what filters.  Very helpful in debugging I
 think.  Shouldn't take too long to work something up on this - will put up
 a quick patch to see what people think.

 This might also lead to easily localisable plugin strings, as is currently
 being discussed on the hackers list: http://www.nabble.com/Improvements-

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

More information about the wp-trac mailing list