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:
Sergey Biryukov 2019-03-27 00:36:50 +00:00
parent f8cfe858c9
commit ada13d2ffd
2 changed files with 8 additions and 4 deletions

View File

@ -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(
$wp_error = new WP_Error(
'internal_server_error',
$message,
array(
'error' => $error,
) );
)
);
wp_die( $wp_error, '', $args );
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2-alpha-45024';
$wp_version = '5.2-alpha-45025';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.