[wp-trac] [WordPress Trac] #56318: Add auto-update fatal error protection

WordPress Trac noreply at wordpress.org
Fri Aug 5 18:38:43 UTC 2022


#56318: Add auto-update fatal error protection
-----------------------------+-----------------------------
 Reporter:  apedog           |       Owner:  afragen
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  Future Release
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------------
Changes (by afragen):

 * milestone:  6.1 => Future Release


Comment:

 Setting to Future Release as #51857 upon which this would dependent has
 been re-tasked.

 To test the plugin you will need the Rollback Update Failure feature
 plugin installed and active. In my testing it works.

 The only issues are that after the PHP fatal errors are caught and the
 rollback occurs, any further script execution halts. This means that any
 subsequent plugins scheduled to auto-update won't. Bulk auto-updates occur
 alphabetically by slug.

 I don't plan on creating a PR until #51857 is committed, but by all means
 test away and leave feedback on the GitHub repo.

 https://github.com/afragen/rollback-auto-update

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


More information about the wp-trac mailing list