mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
f8cfe858c9
commit
ada13d2ffd
@ -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(
|
||||||
|
'internal_server_error',
|
||||||
|
$message,
|
||||||
|
array(
|
||||||
'error' => $error,
|
'error' => $error,
|
||||||
) );
|
)
|
||||||
|
);
|
||||||
|
|
||||||
wp_die( $wp_error, '', $args );
|
wp_die( $wp_error, '', $args );
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user