WordPress.org

Make WordPress Core

Changeset 16989


Ignore:
Timestamp:
12/16/10 08:09:21 (3 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r16919 r16989  
    223223                            if ( $plugins['folder'] = get_plugins( '/' . dirname($plugin)) ) { 
    224224                                foreach( $plugins['folder'] as $plugin_file => $data ) { 
    225                                     $plugin_info[ $plugin_file ] = $data; 
     225                                    $plugin_info[ $plugin_file ] = _get_plugin_data_markup_translate( $plugin_file, $data ); 
    226226                                    $plugin_info[ $plugin_file ]['is_uninstallable'] = is_uninstallable_plugin( $plugin ); 
    227227                                } 
Note: See TracChangeset for help on using the changeset viewer.