[wp-trac] [WordPress Trac] #44458: Catch WSODs and provide a means for recovery for end users

WordPress Trac noreply at wordpress.org
Sun Jul 8 17:03:09 UTC 2018


#44458: Catch WSODs and provide a means for recovery for end users
-------------------------------------------------+-------------------------
 Reporter:  schlessera                           |       Owner:  (none)
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  5.0
Component:  Bootstrap/Load                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:  multisite
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by schlessera):

 I refactored the persistence code. Recorded errors are now stored in the
 database. To avoid filling up the database, I added automatic pruning that
 get rids of any records that are not active plugins.

 The recorded error message is now shown in the plugin list. Not sure
 whether that's a good or a bad thing, but it definitely needs better
 styling at the very least. I had planned to make the error display
 collapsible to not scare away users immediately, but decided to skip
 introducing JS code for now.

 The plugin list is now filterable by `'paused'` status, and the admin
 notice will bring users automatically to a filtered view of the plugin
 list. This helps find the problem right away on sites that have multiple
 pages of plugins.

 [[Image(https://i.imgur.com/wlZ6TB2.png)]]

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


More information about the wp-trac mailing list