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:
parent
e06249b885
commit
73311147bf
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user