[wp-trac] [WordPress Trac] #54166: Updating errors due to PHP timeouts
WordPress Trac
noreply at wordpress.org
Wed Sep 29 05:04:06 UTC 2021
#54166: Updating errors due to PHP timeouts
-----------------------------+-----------------------------
Reporter: aristath | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.9
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Comment (by peterwilsoncc):
As noted on the pull request, I am still seeing
[https://github.com/WordPress/wordpress-
develop/pull/1696#issuecomment-929826429 fatal errors when testing this
locally].
Both `gutenberg` and `wpforms-lite` intermittently end up with either some
or all of their sub-directories empty.
There are backward compatibility implications but I am wondering if it's
possible to switch to a series of AJAX requests for each step:
1. Create the backup of the previous install
2. Download the update from w.org
3. Unzip the download
4. Activate the plugin
5. Restore if needs be
As fetch returns a promise, it's offers quite a lot of control to ensure
the process doesn't get ahead of itself.
1. No requirements
2. No requirements
3. Requires 1, 2 be complete
4. Requires 1, 2, 3, be complete
5. Requires 1 be complete, 4 to fail
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54166#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list