Opened 15 years ago
Closed 15 years ago
#12681 closed defect (bug) (fixed)
Plugin Data is not translated
Reported by: | lilyfan | Owned by: | 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)
Note: See
TracTickets for help on using
tickets.
Only the first change needs to be made.
Its currently reading it as
${$plugin_array_name[ $plugin_file ]} = ...