WordPress.org

Make WordPress Core

Changeset 47515


Ignore:
Timestamp:
03/27/2020 06:20:55 PM (5 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-fatal-error-handler.php

    r47122 r47515  
    188188            $message,
    189189            /* translators: Documentation explaining debugging in WordPress. */
    190             esc_url( __( 'https://wordpress.org/support/article/debugging-in-wordpress/' ) ),
     190            __( 'https://wordpress.org/support/article/debugging-in-wordpress/' ),
    191191            __( 'Learn more about debugging in WordPress.' )
    192192        );
Note: See TracChangeset for help on using the changeset viewer.