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

WordPress Trac noreply at wordpress.org
Mon Jun 10 15:10: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.2.2
Component:  Bootstrap/Load        |     Version:  5.2
 Severity:  normal                |  Resolution:
 Keywords:  has-patch servehappy  |     Focuses:
----------------------------------+------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch servehappy commit => has-patch servehappy


Comment:

 Looks like this needs some more work.

 > we are unable to redirect you

 This should be rewritten without the "we", see #46057.

 > Please contact your site admin, your developer

 What if the user is a site admin or developer?

 > or the WordPress support forums

 This should link to the forums.

 > `if ( true === $handled ... )`

 Core does not generally use strict comparison in cases like this, `if (
 $handled ... )` should be enough.

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


More information about the wp-trac mailing list