Changes from branches/2.6/wp-admin/includes/plugin.php at r8521 to trunk/wp-admin/includes/plugin.php at r8266
- File:
-
- 1 edited
-
trunk/wp-admin/includes/plugin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r8521 r8266 35 35 36 36 if ( ! $cache_plugins = wp_cache_get('plugins', 'plugins') ) 37 $cache _plugins = array();37 $cached_plugins = array(); 38 38 39 39 if ( isset($cache_plugins[ $plugin_folder ]) ) … … 240 240 } 241 241 242 //Invalid is any plugin that is deactivated due to error.243 $invalid = array();244 245 242 // If a plugin file does not exist, remove it from the list of active 246 243 // plugins. … … 248 245 $result = validate_plugin($check_plugin); 249 246 if ( is_wp_error( $result ) ) { 250 $invalid[$check_plugin] = $result;251 247 deactivate_plugins( $check_plugin, true); 252 248 } 253 249 } 254 return $invalid;255 250 } 256 251
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)