From 285e5306870a5a427540ba40fb7f83329fc7dcf0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 27 Mar 2020 23:56:08 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-fatal-error-handler.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-fatal-error-handler.php b/wp-includes/class-wp-fatal-error-handler.php index f8c431ab3d..43135e720d 100644 --- a/wp-includes/class-wp-fatal-error-handler.php +++ b/wp-includes/class-wp-fatal-error-handler.php @@ -187,7 +187,7 @@ class WP_Fatal_Error_Handler { '

%s

%s

', $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.' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index c274b7bd56..9e797c8070 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.