[wp-trac] [WordPress Trac] #47321: Show different fatal error message when in Recovery Mode and unable to redirect

WordPress Trac noreply at wordpress.org
Sat Aug 3 14:02:21 UTC 2019


#47321: Show different fatal error message when in Recovery Mode and unable to
redirect
-------------------------------------------------+-------------------------
 Reporter:  TimothyBlynJacobs                    |       Owner:  marybaum
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.3
Component:  Site Health                          |     Version:  5.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch servehappy dev-feedback    |     Focuses:
  has-copy-review copy-approved                  |
-------------------------------------------------+-------------------------

Comment (by marybaum):

 Replying to [comment:34 garrett-eclipse]:

 OMG I missed this part completely! Yes, I think we should update these two
 strings to match.

 `} elseif ( is_protected_endpoint() ) {

 $message= ( 'There has been a critical error. Please check your site's
 admin email for instuctions.' );

 } else {

 $message= ( 'There has been a critical error.' );

 }`


 > Awesome thanks @marybaum
 >
 > So to move this forward the only outstanding questions were;
 > > Also should the two other strings found in the
 display_default_error_template function get some copy love as well to
 match the tone and conveyance of this string? They are;
 > > } elseif ( is_protected_endpoint() ) {
 > >         $message = __( 'The site is experiencing technical
 difficulties. Please check your site admin email inbox for instructions.'
 );
 > > } else {
 > >         $message = __( 'The site is experiencing technical
 difficulties.' );
 > > }
 > > Also adding 'needs-unit-tests' to account for @afragen's request;
 > >

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47321#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list