Make WordPress Core

Changeset 47523


Ignore:
Timestamp:
03/27/2020 11:54:47 PM (5 years 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.
Reviewed by jorgefilipecosta, SergeyBiryukov.
Merges [47515] to the 5.4 branch.
Fixes #49709.

Location:
branches/5.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.4

  • branches/5.4/src/wp-includes/class-wp-fatal-error-handler.php

    r47122 r47523  
    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.