WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#23460 closed defect (bug) (duplicate)

'get_plugin_data' doesn't load text domain

Reported by: npetetin Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: Plugins Keywords:
Focuses: Cc:

Description

'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.

Change History (1)

#1 @nacin
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Looks like #20813 fixed this.

Note: See TracTickets for help on using tickets.