Changeset 44674 for trunk/src/wp-includes/class-wp-fatal-error-handler.php
- Timestamp:
- 01/21/2019 08:14:56 PM (7 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-fatal-error-handler.php
r44673 r44674 1 1 <?php 2 2 /** 3 * Error Protection API: WP_ Shutdown_Handler class3 * Error Protection API: WP_Fatal_Error_Handler class 4 4 * 5 5 * @package WordPress … … 8 8 9 9 /** 10 * Core class used as the default shutdown handler .10 * Core class used as the default shutdown handler for fatal errors. 11 11 * 12 * A drop-in 'shutdown-handler.php' can be used to override the instance of this class and use a custom implementation 13 * for the shutdown handler that WordPress registers. The custom class should extend this class and can override its 14 * methods individually as necessary. The file must return the instance of the class that should be registered. 12 * A drop-in 'fatal-error-handler.php' can be used to override the instance of this class and use a custom 13 * implementation for the fatal error handler that WordPress registers. The custom class should extend this class and 14 * can override its methods individually as necessary. The file must return the instance of the class that should be 15 * registered. 15 16 * 16 17 * @since 5.1.0 17 18 */ 18 class WP_ Shutdown_Handler {19 class WP_Fatal_Error_Handler { 19 20 20 21 /** … … 127 128 * `wp-includes/load.php` should be checked for before being called. 128 129 * 129 * If no such drop-in is available, this will call {@see WP_ Shutdown_Handler::display_default_error_template()}.130 * If no such drop-in is available, this will call {@see WP_Fatal_Error_Handler::display_default_error_template()}. 130 131 * 131 132 * @since 5.1.0
Note: See TracChangeset
for help on using the changeset viewer.