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

WordPress Trac noreply at wordpress.org
Thu Apr 25 00:32:46 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 pento):

 In [attachment:"46898.6.diff"]:

 - Increase the link expiry to 1 day.
 - Ensure that plugins which aren't in a directory (eg, `hello.php`) are
 detected correctly.
 - Added a translator comment for the email text.
 - Update the email text. Based on @chanthaboune's text above, but with
 some bonus changes:
  - Refer to "plugin or theme" instead of just "plugin".
  - Change the first sentence, as the plugin won't be deactivated
 automatically. The site owner is just notified.
  - Replaced the suggestion to visit the plugin forums, with a suggestion
 to contact your host. This message is filterable with the new
 `recovery_email_support_info` filter.
  - Removed the reference to the plugin name from the recovery mode link
 explanation, as this was a little too tricky to insert in a nicely
 translatable way.

 {{{
 Howdy!

 Since WordPress 5.2 there is a built-in feature that detects when a plugin
 or theme causes a fatal error on your site, and notifies you with this
 automated email.

 In this case, WordPress caught an error with one of your plugins, Hello
 Dolly.

 First, visit your website (http://localhost:9999/) and check for any
 visible issues. Next, visit the page where the error was caught
 (http://localhost:9999) and check for any visible issues.

 Please contact your host to assit with investigating this issue further.

 If your site appears broken and you can't access your dashboard normally,
 WordPress now has a special "recovery mode". This lets you safely login to
 your dashboard and investigate further.

 http://localhost:9999/wp-login.php?action=enter_recovery_mode&rm_token=...

 To keep your site safe, this link will expire in 1 day. Don't worry about
 that, though: a new link will be emailed to you if the error occurs again
 after it expires.



 Error Details
 =============
 An error of type E_WARNING was caused in line 15 of the file /var/www/src
 /wp-content/plugins/hello.php. Error message: Division by zero
 }}}

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


More information about the wp-trac mailing list