[wp-trac] [WordPress Trac] #46898: WSOD Protection: Finalize email language

WordPress Trac noreply at wordpress.org
Mon Apr 15 17:18:58 UTC 2019


#46898: WSOD Protection: Finalize email language
-------------------------------+-----------------------------
 Reporter:  TimothyBlynJacobs  |       Owner:  SergeyBiryukov
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  5.2
Component:  Administration     |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  servehappy         |     Focuses:
-------------------------------+-----------------------------

Comment (by schlessera):

 During the core-php meeting we discussed how to handle resending an email
 for a given error, as we're not storing the caught error. The reason why
 we'd need that is that the recovery email generation needs it for two
 pieces of information: a.) the plugin/theme name that caused the issue and
 b.) the error details at the end.

 If we choose to not display the error details at the end, we should also
 consider not putting the plugin/theme name into the email itself, but
 provide more generic language, knowing that the admin backend will contain
 all the details one needs to diagnose further.

 Something along the lines of:
 `There was an issue with one or more of your plugins or themes. Log into
 the admin backend through the provided recovery link to see more details.`

 This way, we don't need to pass an error object to the email generation,
 and can thus easily regenerate emails for expired tokens.

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


More information about the wp-trac mailing list