Changeset 8500 for branches/2.6/wp-admin/includes/plugin.php
- Timestamp:
- 07/30/2008 06:48:03 AM (18 years ago)
- File:
-
- 1 edited
-
branches/2.6/wp-admin/includes/plugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/wp-admin/includes/plugin.php
r8266 r8500 240 240 } 241 241 242 //Invalid is any plugin that is deactivated due to error. 243 $invalid = array(); 244 242 245 // If a plugin file does not exist, remove it from the list of active 243 246 // plugins. … … 245 248 $result = validate_plugin($check_plugin); 246 249 if ( is_wp_error( $result ) ) { 250 $invalid[$check_plugin] = $result; 247 251 deactivate_plugins( $check_plugin, true); 248 252 } 249 253 } 254 return $invalid; 250 255 } 251 256
Note: See TracChangeset
for help on using the changeset viewer.