Make WordPress Core

Changeset 59270


Ignore:
Timestamp:
10/22/2024 10:14:47 AM (2 weeks ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

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

    r57194 r59270  
    191191                $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.' );
    192192            } else {
    193                 $message = __( 'There has been a critical error on this website. Please check your site admin email inbox for instructions.' );
     193                $message = sprintf(
     194                    /* translators: %s: Support forums URL. */
     195                    __( '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>.' ),
     196                    __( 'https://wordpress.org/support/forums/' )
     197                );
    194198            }
    195199        } else {
Note: See TracChangeset for help on using the changeset viewer.