[wp-trac] [WordPress Trac] #35016: New plugin version in upgrader object

WordPress Trac noreply at wordpress.org
Thu Sep 29 08:35:36 UTC 2016


#35016: New plugin version in upgrader object
-----------------------------+------------------------------
 Reporter:  eclev91          |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  4.4
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by ocean90):

 @eclev91 I'm not exactly sure what you're asking for. `WP_Upgrader->run()`
 is the underlying method which is called by all upgraders, except
 `Core_Upgrader` because it also handles rollbacks and more. `run()` is
 used for updates but also for new installs. `bulk_upgrade()` is used to
 update multiple plugins at once, `upgrade()` can only update one package.
 (Note: In `Language_Pack_Upgrader` `upgrade()` is just a wrapper for
 `bulk_upgrade()`.)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35016#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list