WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44458, comment 52


Ignore:
Timestamp:
01/07/2019 08:52:55 PM (2 years ago)
Author:
flixos90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44458, comment 52

    initial v1  
    33Relying a class like this makes it easier to provide a custom implementation via the new `shutdown-handler.php` drop-in. Since the distinct steps the default handler performs are separate methods, you can easily reuse what you like while overriding the parts you want to change.
    44
    5 The patch also hardens the logic a bit further, for example covering the case where the Translation APIs have not been loaded yet. It also prevents an error where the default error template would use invalid HTML markup.
     5The patch also hardens the logic a bit further, for example covering the case where the Translation APIs have not been loaded yet. It also prevents an error where the default error template would use invalid HTML markup. Last but not least, it clarifies documentation, particularly important for the two drop-ins that the WSOD protection will introduce.
    66
    77As usual, you can get a better overview of this change in particular on GitHub, via https://github.com/wp-core-php/wordpress-develop/pull/3/commits/851cfe7001cf64636cab04d5a23f4fb12a3e1fee.