[wp-trac] Re: [WordPress Trac] #3047: get_plugininfo()
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 20 21:09:15 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 forceagainstsomething):
"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."
That's just nasty. :) It's easy to modify your code so that it works the
way my function did. I'll get back to you on that change.
--
Ticket URL: <http://trac.wordpress.org/ticket/3047>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list