Translate and markup plugins in a directory when deleting a plugin. fixes #15742.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-16 08:09:21 +00:00
parent 8c03934da4
commit a132ad0ced
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ if ( $action ) {
// Get plugins list from that folder // Get plugins list from that folder
if ( $plugins['folder'] = get_plugins( '/' . dirname($plugin)) ) { if ( $plugins['folder'] = get_plugins( '/' . dirname($plugin)) ) {
foreach( $plugins['folder'] as $plugin_file => $data ) { foreach( $plugins['folder'] as $plugin_file => $data ) {
$plugin_info[ $plugin_file ] = $data; $plugin_info[ $plugin_file ] = _get_plugin_data_markup_translate( $plugin_file, $data );
$plugin_info[ $plugin_file ]['is_uninstallable'] = is_uninstallable_plugin( $plugin ); $plugin_info[ $plugin_file ]['is_uninstallable'] = is_uninstallable_plugin( $plugin );
} }
} }