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. Fixes #49709. git-svn-id: https://develop.svn.wordpress.org/trunk@47515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e858ea7058
commit
33056ff892
|
@ -187,7 +187,7 @@ class WP_Fatal_Error_Handler {
|
||||||
'<p>%s</p><p><a href="%s">%s</a></p>',
|
'<p>%s</p><p><a href="%s">%s</a></p>',
|
||||||
$message,
|
$message,
|
||||||
/* translators: Documentation explaining debugging in WordPress. */
|
/* 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.' )
|
__( 'Learn more about debugging in WordPress.' )
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue