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

WordPress Trac noreply at wordpress.org
Wed Jan 16 15:20:09 UTC 2019


#44458: Catch WSODs and provide a means for recovery for end users
----------------------------------+------------------------
 Reporter:  schlessera            |       Owner:  flixos90
     Type:  task (blessed)        |      Status:  closed
 Priority:  normal                |   Milestone:  5.1
Component:  Bootstrap/Load        |     Version:
 Severity:  normal                |  Resolution:  fixed
 Keywords:  has-patch servehappy  |     Focuses:  multisite
----------------------------------+------------------------

Comment (by flixos90):

 In [changeset:"44624" 44624]:
 {{{
 #!CommitTicketReference repository="" revision="44624"
 Bootstrap/Load: Fix workaround to display admin link in PHP error template
 by introducing `$link_url` and `$link_text` arguments to `wp_die()`.

 This changeset removes the hack that was used before to display more
 complex HTML markup than a simple message in the default PHP error
 template via `wp_die()`. By removing HTML markup from the arguments passed
 to `wp_die()` it furthermore paves the way for supporting other content
 types than the default.

 The message and arguments can be modified with new `wp_php_error_message`
 and `wp_php_error_args` filters respectively.

 Furthermore this changeset fixes a few issues of functions not existing
 which could potentially have caused fatal errors when executed early in
 the WordPress bootstrap process.

 Props flixos90, spacedmonkey.
 See #45933, #44458.
 }}}

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


More information about the wp-trac mailing list