Make WordPress Core

Opened 9 years ago

Last modified 15 months ago

#32652 new defect (bug)

Use `ignore_user_abort()` to avoid some update failures

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

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 (2)

This ticket was mentioned in Slack in #core-upgrade-install by costdev. View the logs.


15 months ago

#2 @afragen
15 months ago

I will attempt to reproduce this issue.

Note: See TracTickets for help on using tickets.