[wp-trac] Re: [WordPress Trac] #3047: get_plugininfo()

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 20 20:19:34 GMT 2006


#3047: get_plugininfo()
------------------------------------------+---------------------------------
 Reporter:  forceagainstsomething         |        Owner:  westi   
     Type:  enhancement                   |       Status:  assigned
 Priority:  normal                        |    Milestone:          
Component:  Administration                |      Version:  2.1     
 Severity:  normal                        |   Resolution:          
 Keywords:  bg|has-patch bg|dev-feedback  |  
------------------------------------------+---------------------------------
Comment (by westi):

 Yes my get_plugininfo expects to be called with the plugin_basename
 version of the plugin file.

 How can you provide all of the information in the plugin header by calling
 it from your  included files.

 One call to plugin_basename(!__FILE!__) in the original plugin file being
 stored in a global variable allows you to call get_plugininfo from any
 other plugin file.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3047>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list