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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 17 21:38:20 GMT 2006


#3047: get_plugininfo()
-----------------------------------+----------------------------------------
 Reporter:  forceagainstsomething  |        Owner:  anonymous
     Type:  enhancement            |       Status:  new      
 Priority:  normal                 |    Milestone:           
Component:  Administration         |      Version:  2.1      
 Severity:  normal                 |   Resolution:           
 Keywords:                         |  
-----------------------------------+----------------------------------------
Comment (by westi):

 +1 for the ideas
 -1 for it's current form

 Can we not reuse and extend the code that already exists for loading
 plugin info and use pre-existing functions like plugin_basename rather
 than the hacks around with the callstack?

 The pre-existing code will already pull in the version info for a plugin
 and calling something like get_plugininfo(plugin_basename(__FILE__),$info)
 isn't hard.

 I'll try and code up an example.

 It is probably also good to show some examples of how it would be used?

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


More information about the wp-trac mailing list