[wp-trac] [WordPress Trac] #52560: Fatal error handler references recovery mode email, which may not have actually been sent

WordPress Trac noreply at wordpress.org
Sat Jun 5 15:45:24 UTC 2021


#52560: Fatal error handler references recovery mode email, which may not have
actually been sent
--------------------------------------+---------------------
 Reporter:  stevegrunwell             |       Owner:  jorbin
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.8
Component:  Bootstrap/Load            |     Version:  5.2
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+---------------------
Changes (by jorbin):

 * owner:  (none) => jorbin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51076" 51076]:
 {{{
 #!CommitTicketReference repository="" revision="51076"
 Booststrap/Load: Only reference recovery mode email when it can be sent.

 The recovery mode email is sent from within the
 WP_Recovery_Mode::handle_error() method, but that method is only called by
 the fatal error handler if WP_Recovery_Mode has been initialized. This
 adjusts the message to only say the email has been sent if it can be sent.

 Props reynhartono, stevegrunwell for initial plan.
 Fixes #52560.
 }}}

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


More information about the wp-trac mailing list