Changeset 16312 for trunk/wp-admin/plugins.php
- Timestamp:
- 11/11/2010 10:21:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r16194 r16312 187 187 //$_POST = from the plugin form; $_GET = from the FTP details screen. 188 188 $plugins = isset( $_REQUEST['checked'] ) ? (array) $_REQUEST['checked'] : array(); 189 $plugins = array_filter($plugins, create_function('$plugin', 'return !is_plugin_active($plugin);') ); //Do not allow to delete Activated plugins.189 $plugins = array_filter($plugins, 'is_plugin_inactive'); // Do not allow to delete Activated plugins. 190 190 if ( empty($plugins) ) { 191 191 wp_redirect( self_admin_url("plugins.php?plugin_status=$status&paged=$page&s=$s") );
Note: See TracChangeset
for help on using the changeset viewer.