[wp-trac] [WordPress Trac] #34878: Core Auto Updater Needs to be Aware of Manual Updates

WordPress Trac noreply at wordpress.org
Wed Jan 6 14:03:22 UTC 2016


#34878: Core Auto Updater Needs to be Aware of Manual Updates
-------------------------------------+------------------
 Reporter:  aaroncampbell            |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.5
Component:  Upgrade/Install          |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------
Changes (by dd32):

 * keywords:   => has-patch needs-testing


Comment:

 [attachment:34878.diff] is a first pass at this.

 To test, I suggest adding a `sleep(120)` after locking and attempting to
 start another manual update in another window.

 One thing worth noting in this patch, was I introduced `wp_create_lock()`
 and `wp_release_lock()`, these may be moved internally to the upgraders.

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


More information about the wp-trac mailing list