Opened 3 years ago

Closed 3 years ago

#12681 closed defect (bug) (fixed)

Plugin Data is not translated

Reported by: lilyfan Owned by: westi
Priority: normal Milestone: 3.0
Component: Plugins Version: 3.0
Severity: normal Keywords: has-patch
Cc:

Description

In the plugin admin panel of WP 3.0-alpha, the plugin data (description, author name, etc) are not translated.

This is because syntax to dereferencing $$plugin_array_name is bad.

In line 402 of wp-admin/plugins.php: it must be

${$plugin_array_name}[ $plugin_file ] = $plugin_data;

Also, line 399 should be

foreach ( (array) ${$plugin_array_name} as $plugin_file => $plugin_data ) {

Change History (2)

comment:1   dd323 years ago

Only the first change needs to be made.

Its currently reading it as ${$plugin_array_name[ $plugin_file ]} = ...

comment:2   dd323 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13868]) Make the WordPress Magic translate Plugins properly. Fixes #12681

Note: See TracTickets for help on using tickets.