Opened 21 years ago
Closed 21 years ago
#315 closed defect (bug) (fixed)
Adminitration Plugins panel throws lots of errors on activating/deactivating request
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
when any of plugins was ever activated and then deactivated back, so that no active plugins remain, Administration Plugins panel throws lots of errors concerning arrays.
I assume it's because no checking is being made in scripts (./wp-settings.php, ./wp-admin/plugins.php) to check whether operations with arrays (in_array(), foreach(), $array[] =...) are really performed on arrays, and as when plugin is activated and then deactivated, 'active_plugins' option in db table becomes 'a:0:{}' which unserialized is not considered as array any more..
Change History (2)
Note: See
TracTickets for help on using
tickets.