[wp-trac] [WordPress Trac] #33961: New filter: `plugin_data`

WordPress Trac noreply at wordpress.org
Tue Sep 22 11:46:22 UTC 2015


#33961: New filter: `plugin_data`
------------------------------+------------------------------
 Reporter:  sebastian.pisula  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Plugins           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------
Changes (by swissspidy):

 * type:  defect (bug) => enhancement


Comment:

 Replying to [comment:2 sebastian.pisula]:
 > Replying to [comment:1 Clorith]:
 > > I'm a big fan of filters, but I'm not seeing the need for this one?
 > >
 > > In what situation would you need to manipulate the plugin data?
 >
 > For example translate Plugin Name.

 Plugin names can already be translated through po/mo files, just like any
 other string that's passed through the i18n helper functions. See
 `_get_plugin_data_markup_translate`. Soon this will also be possible on
 translate.wordpress.org.

 -1 for this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33961#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list