Site Health: Add a link to "Debugging in WordPress" support article to fatal PHP error handler's default message.
Props garrett-eclipse, tobifjellner, dkarfa, hareesh-pillai. Fixes #47681. Built from https://develop.svn.wordpress.org/trunk@46151 git-svn-id: http://core.svn.wordpress.org/trunk@45963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a86fde414b
commit
a3e747990c
|
@ -183,6 +183,14 @@ class WP_Fatal_Error_Handler {
|
||||||
$message = __( 'There has been a critical error on your website.' );
|
$message = __( 'There has been a critical error on your website.' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$message = sprintf(
|
||||||
|
'<p>%s</p><p><a href="%s">%s</a></p>',
|
||||||
|
$message,
|
||||||
|
/* translators: Documentation explaining debugging in WordPress. */
|
||||||
|
esc_url( __( 'https://wordpress.org/support/article/debugging-in-wordpress/' ) ),
|
||||||
|
__( 'Learn more about debugging in WordPress.' )
|
||||||
|
);
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'response' => 500,
|
'response' => 500,
|
||||||
'exit' => false,
|
'exit' => false,
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-46150';
|
$wp_version = '5.3-alpha-46151';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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