[wp-trac] [WordPress Trac] #51857: Add rollback for failed plugin/theme updates

WordPress Trac noreply at wordpress.org
Mon Mar 8 18:09:07 UTC 2021


#51857: Add rollback for failed plugin/theme updates
-------------------------------+-----------------------
 Reporter:  pbiron             |       Owner:  pbiron
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:  5.8
Component:  Upgrade/Install    |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  early needs-patch  |     Focuses:
-------------------------------+-----------------------

Comment (by pbiron):

 @KZeni thanx for the comment.

 Personally, I would love to be able to detect whether a plugin/theme
 update **will** cause a fatal.  However, that would be **very** hard to do
 so, since in many cases, such fatals won't occur until the plugin is
 actually used (e.g., they often don't happen until an admin- or end-user
 actually **does** something with the plugin/theme).

 Since WP 5.1 was release, there is Fatal Error Protection built into core,
 where a plugin will be "suspended" if a fatal occurs at run-time and
 admins will be notified (see the "Fatal Error Protection" section of
 [https://make.wordpress.org/core/2019/01/14/php-site-health-mechanisms-
 in-5-1/ PHP Site Health Mechanisms in 5.1] for more info).

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


More information about the wp-trac mailing list