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

git-svn-id: https://develop.svn.wordpress.org/trunk@16989 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-16 08:09:21 +00:00
parent e06249b885
commit 73311147bf

View File

@ -222,7 +222,7 @@ if ( $action ) {
// Get plugins list from that folder
if ( $plugins['folder'] = get_plugins( '/' . dirname($plugin)) ) {
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 );
}
}