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:
Sergey Biryukov 2019-09-16 17:23:55 +00:00
parent a86fde414b
commit a3e747990c
2 changed files with 9 additions and 1 deletions

View File

@ -183,6 +183,14 @@ class WP_Fatal_Error_Handler {
$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(
'response' => 500,
'exit' => false,

View File

@ -13,7 +13,7 @@
*
* @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.