PHPCS: Fix WPCS violations in [45023].
See #46620. git-svn-id: https://develop.svn.wordpress.org/trunk@45025 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a630f23731
commit
c454b24d92
@ -185,9 +185,13 @@ class WP_Fatal_Error_Handler {
|
|||||||
*/
|
*/
|
||||||
$args = apply_filters( 'wp_php_error_args', $args, $error );
|
$args = apply_filters( 'wp_php_error_args', $args, $error );
|
||||||
|
|
||||||
$wp_error = new WP_Error( 'internal_server_error', $message, array(
|
$wp_error = new WP_Error(
|
||||||
'error' => $error,
|
'internal_server_error',
|
||||||
) );
|
$message,
|
||||||
|
array(
|
||||||
|
'error' => $error,
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
wp_die( $wp_error, '', $args );
|
wp_die( $wp_error, '', $args );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user