[wp-trac] Re: [WordPress Trac] #3047: get_plugininfo()
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 3 16:55:38 GMT 2007
#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 _erik_):
This is a really great idea!
May i suggest to also include a plugins textdomain-name. currently it's
set directly in the load_plugin_textdomain()-function and needs to be
repeated in every single _e() or __()-string. over and over again...
instead of coding around this - the get_plugininfo()-function would come
in pretty handy!
a) simplify/shorten the _e() and __() functions
b) make sure there really is no .mo file - is it in the /plugins/ or in a
/pluginsubdir/?
c) display localized descriptions (if a plugin brings l10n) in the plugin-
panel.
--
Ticket URL: <http://trac.wordpress.org/ticket/3047#comment:22>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list