PHPCS: Fix WPCS violations in [45023].
See #46620. Built from https://develop.svn.wordpress.org/trunk@45025 git-svn-id: http://core.svn.wordpress.org/trunk@44834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -185,9 +185,13 @@ class WP_Fatal_Error_Handler {
|
||||
*/
|
||||
$args = apply_filters( 'wp_php_error_args', $args, $error );
|
||||
|
||||
$wp_error = new WP_Error( 'internal_server_error', $message, array(
|
||||
'error' => $error,
|
||||
) );
|
||||
$wp_error = new WP_Error(
|
||||
'internal_server_error',
|
||||
$message,
|
||||
array(
|
||||
'error' => $error,
|
||||
)
|
||||
);
|
||||
|
||||
wp_die( $wp_error, '', $args );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user