Plugin_Upgrader::bulk_upgrade() and Theme_Upgrader::bulk_upgrade() sanity checks
|Reported by:||jamescollins||Owned by:||dd32|
Currently, the Plugin_Upgrader::bulk_upgrade() and Theme_Upgrader::bulk_upgrade() functions don't perform any checks to make sure at least one plugin/theme is passed to it.
This has the side effect in WordPress Multisite that if the function is called with an empty array being passed to it, then maintenance mode is enabled and disabled even though no plugins or themes are updated.
Change History (13)
comment:4 @SergeyBiryukov — 2 years ago
- Keywords 3.7-early added
- Milestone changed from Awaiting Review to Future Release