[wp-trac] [WordPress Trac] #24496: Plugin_Upgrader::bulk_upgrade() and Theme_Upgrader::bulk_upgrade() sanity checks

WordPress Trac noreply at wordpress.org
Wed Jun 5 13:08:55 UTC 2013


#24496: Plugin_Upgrader::bulk_upgrade() and Theme_Upgrader::bulk_upgrade() sanity
checks
-----------------------------+-----------------------------
 Reporter:  jamescollins     |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 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.

 Background: https://github.com/wp-cli/wp-cli/issues/491

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24496>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list