WordPress.org

Make WordPress Core

Changeset 46151


Ignore:
Timestamp:
09/16/2019 05:22:32 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Add a link to "Debugging in WordPress" support article to fatal PHP error handler's default message.

Props garrett-eclipse, tobifjellner, dkarfa, hareesh-pillai.
Fixes #47681.

File:
1 edited

Legend:

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

    r46119 r46151  
    184184        }
    185185
     186        $message = sprintf(
     187            '<p>%s</p><p><a href="%s">%s</a></p>',
     188            $message,
     189            /* translators: Documentation explaining debugging in WordPress. */
     190            esc_url( __( 'https://wordpress.org/support/article/debugging-in-wordpress/' ) ),
     191            __( 'Learn more about debugging in WordPress.' )
     192        );
     193
    186194        $args = array(
    187195            'response' => 500,
Note: See TracChangeset for help on using the changeset viewer.