mirror of
https://github.com/WordPress/WordPress.git
synced 2024-06-27 23:35:04 +02:00
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:
parent
f1d8ec0715
commit
285e530687
|
@ -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.' )
|
||||
);
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user