Changeset 53316 for trunk/src/wp-includes/class-wp-fatal-error-handler.php
- Timestamp:
- 04/29/2022 07:15:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-fatal-error-handler.php
r51076 r53316 67 67 * @since 5.2.0 68 68 * 69 * @return array|null Error that was triggered, or null if no error received or if the error should not be handled. 69 * @return array|null Error information returned by `error_get_last()`, or null 70 * if none was recorded or the error should not be handled. 70 71 */ 71 72 protected function detect_error() { … … 91 92 * @since 5.2.0 92 93 * 93 * @param array $error Error information retrieved from error_get_last().94 * @param array $error Error information retrieved from `error_get_last()`. 94 95 * @return bool Whether WordPress should handle this error. 95 96 */ … … 117 118 * 118 119 * @param bool $should_handle_error Whether the error should be handled by the fatal error handler. 119 * @param array $error Error information retrieved from error_get_last().120 * @param array $error Error information retrieved from `error_get_last()`. 120 121 */ 121 122 return (bool) apply_filters( 'wp_should_handle_php_error', false, $error );
Note: See TracChangeset
for help on using the changeset viewer.