[wp-trac] [WordPress Trac] #32652: Use `ignore_user_abort()` to avoid some update failures

WordPress Trac noreply at wordpress.org
Mon Jun 15 05:50:54 UTC 2015


#32652: Use `ignore_user_abort()` to avoid some update failures
-----------------------------+-----------------------------
 Reporter:  dd32             |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:  needs-patch
  Focuses:                   |
-----------------------------+-----------------------------
 As mentioned in [comment:5:ticket:16066] and [comment:5:ticket:29679] we
 should consider using `ignore_user_abort()` to prevent the potential issue
 of an upgrade process being aborted mid-way due to a browser cancellation.

 This could be called before any update activity starts, or perhaps only
 after actual changes start happening (ie. after the zipfile download,
 before the file alterations).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32652>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list