Ticket #1709: plugin_missing_bug.patch
| File plugin_missing_bug.patch, 580 bytes (added by , 20 years ago) |
|---|
-
plugins.php
old new 40 40 // If a plugin file does not exist, remove it from the list of active 41 41 // plugins. 42 42 foreach ($check_plugins as $check_plugin) { 43 43 if (!file_exists(ABSPATH . 'wp-content/plugins/' . $check_plugin)) { 44 44 $current = get_settings('active_plugins'); 45 unset($current[$ _GET['plugin']]);45 unset($current[$check_plugin]); 46 46 update_option('active_plugins', $current); 47 47 } 48 48 }