[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:17:44 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:
----------------------------------+------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:17 TimothyBlynJacobs]:
 > I don't think this will work in this case since a `WP_Error` object will
 be truthy. `$handled` is a `bool|WP_Error`.

 Ah, thanks, I missed that.

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


More information about the wp-trac mailing list