Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12681 closed defect (bug) (fixed)

Plugin Data is not translated

Reported by: lilyfan's profile lilyfan Owned by: westi's profile westi
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Plugins Keywords: has-patch
Focuses: 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)

#1 @dd32
15 years ago

Only the first change needs to be made.

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

#2 @dd32
15 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.