Make the WordPress Magic translate Plugins properly. Fixes #12681

git-svn-id: http://svn.automattic.com/wordpress/trunk@13868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-03-28 06:43:16 +00:00
parent e4bd7fa6ce
commit bee035af16

View File

@ -399,7 +399,7 @@ foreach ( array( 'all_plugins', 'mustuse_plugins', 'dropins_plugins' ) as $plugi
foreach ( (array) $$plugin_array_name as $plugin_file => $plugin_data ) {
// Translate, Apply Markup, Sanitize HTML
$plugin_data = _get_plugin_data_markup_translate($plugin_file, $plugin_data, false, true);
$$plugin_array_name[ $plugin_file ] = $plugin_data;
${$plugin_array_name}[ $plugin_file ] = $plugin_data;
}
}
unset( $plugin_array_name );