Site Health: Add a link to support forums in the message displayed for a critical error.

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

Props ipajen, sabernhardt, desrosj, mukesh27, afragen, webcommsat, hellofromTonya.
Fixes #53707.
Built from https://develop.svn.wordpress.org/trunk@59270


git-svn-id: http://core.svn.wordpress.org/trunk@58662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-10-22 10:16:16 +00:00
parent ad69175f95
commit 0c8459d726
2 changed files with 6 additions and 2 deletions

View File

@ -190,7 +190,11 @@ class WP_Fatal_Error_Handler {
if ( is_multisite() ) { 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.' ); $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 { } 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 { } else {
$message = __( 'There has been a critical error on this website.' ); $message = __( 'There has been a critical error on this website.' );

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.7-beta3-59269'; $wp_version = '6.7-beta3-59270';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.