[wp-hackers] Request new function: get_plugininfo()
mike at uwmike.com
Thu Aug 17 02:04:55 GMT 2006
It's a good idea, I approve. My one other request would be for a
plugin to have a way to get its own version number. Obviously you
wouldn't want to have to parse the thing every time; ideally it would
be in the same serialized array that stores the list of active
plugins. Of course, you'd have to keep the two in sync, which might
mean some other hijinxs involving the modification date on the file or
All around, perhaps it's just not worth it. But it would be nice--in
the spirit of staying DRY--for a plugin to know its own version,
without it being a separate variable.
On 8/16/06, Robin Adrianse <shorty114 at shorty114.net> wrote:
> I think he's looking for opinions on whether this would be a good idea and
> whether it would be of good use, before he makes the effort to make it an
> official request with a Trac ticket.
> On 8/16/06, Craig <nuclearmoose at gmail.com> wrote:
> > Have you posted this as an enhancement request on the bug tracker?
> > http://trac.wordpress.org
> > Craig.
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers