WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 5 months ago

#32652 new defect (bug)

Use `ignore_user_abort()` to avoid some update failures

Reported by: dd32 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: needs-patch
Focuses: Cc:
PR Number:

Description

As mentioned in 5:ticket:16066 and 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).

Change History (0)

Note: See TracTickets for help on using tickets.