Site Health: Remove esc_url() used on "Debugging in WordPress" article URL in WP_Fatal_Error_Handler::display_default_error_template().

The function may not be available in some contexts, for example if a fatal error happens in `advanced-cache.php` drop-in.

Props rob006.
Reviewed by jorgefilipecosta, SergeyBiryukov.
Merges [47515] to the 5.4 branch.
Fixes #49709.
Built from https://develop.svn.wordpress.org/branches/5.4@47523


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-03-27 23:56:08 +00:00
parent f1d8ec0715
commit 285e530687
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ class WP_Fatal_Error_Handler {
'<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/' ) ),
__( 'https://wordpress.org/support/article/debugging-in-wordpress/' ),
__( 'Learn more about debugging in WordPress.' )
);

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-RC4-47522';
$wp_version = '5.4-RC4-47523';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.