[wp-trac] [WordPress Trac] #23460: 'get_plugin_data' doesn't load text domain
WordPress Trac
noreply at wordpress.org
Tue Feb 12 18:09:24 UTC 2013
#23460: 'get_plugin_data' doesn't load text domain
-----------------------------+--------------------------
Reporter: npetetin | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Plugins
Version: 3.5 | Severity: normal
Keywords: |
-----------------------------+--------------------------
'get_plugin_data' calls '_get_plugin_data_markup_translate' with the full
path of the plugin file instead of the expected path relative to the
plugins directory. The patch is the following on line 99 of 'wp-
admin/includes/plugin.php':
{{{
$plugin_data = _get_plugin_data_markup_translate( plugin_basename(
$plugin_file ), $plugin_data, $markup, $translate );
}}}
It might solve ticket #20813 as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23460>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list