[wp-trac] [WordPress Trac] #12681: Plugin Data is not translated

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 23 07:58:36 UTC 2010


#12681: Plugin Data is not translated
--------------------------+-------------------------------------------------
 Reporter:  lilyfan       |       Owner:  westi    
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Plugins       |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 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 )
 {
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12681>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list