Skip to content

Commit

Permalink
Site Health: Add a link to support forums in the message displayed fo…
Browse files Browse the repository at this point in the history
…r a critical error.

Follow-up to [44962], [45263], [46119], [49480], [53951].

Props ipajen, sabernhardt, desrosj, mukesh27, afragen, webcommsat, hellofromTonya.
Fixes #53707.

git-svn-id: https://develop.svn.wordpress.org/trunk@59270 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Oct 22, 2024
1 parent c6b30b6 commit 771ef17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/wp-includes/class-wp-fatal-error-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ protected function display_default_error_template( $error, $handled ) {
if ( is_multisite() ) {
$message = __( 'There has been a critical error on this website. Please reach out to your site administrator, and inform them of this error for further assistance.' );
} else {
$message = __( 'There has been a critical error on this website. Please check your site admin email inbox for instructions.' );
$message = sprintf(
/* translators: %s: Support forums URL. */
__( 'There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
__( 'https://wordpress.org/support/forums/' )
);
}
} else {
$message = __( 'There has been a critical error on this website.' );
Expand Down

0 comments on commit 771ef17

Please sign in to comment.