[wp-trac] [WordPress Trac] #47050: Recovery Email - Keep consistent newline spacing around ###CAUSE### mergetag

WordPress Trac noreply at wordpress.org
Fri Apr 26 03:59:17 UTC 2019


#47050: Recovery Email - Keep consistent newline spacing around ###CAUSE###
mergetag
-----------------------------+-----------------------------
 Reporter:  garrett-eclipse  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Administration   |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Hello,

 While translating I came to the recovery email which uses several
 mergetags. They're all surrounded by empty lines with the exception of
 ###CAUSE### which I felt odd.

 Current Email;
 {{{
 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.↵
 ###CAUSE###↵
 First, visit your website (###SITEURL###) and check for any visible
 issues. Next, visit the page where the error was caught (###PAGEURL###)
 and check for any visible issues.↵
 ↵
 ###SUPPORT###↵
 ↵
 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.↵
 ↵
 ###LINK###↵
 ↵
 To keep your site safe, this link will expire in ###EXPIRES###. Don't
 worry about that, though: a new link will be emailed to you if the error
 occurs again after it expires.↵
 ↵
 ###DETAILS###
 }}}
 Code Reference - https://build.trac.wordpress.org/browser/trunk/wp-
 includes/class-wp-recovery-mode-email-service.php?marks=134#L139

 Opening this ticket to introduce empty lines around ###CAUSE###

 The cause strings I found are;
 "In this case, WordPress caught an error with one of your plugins, %s."
 "In this case, WordPress caught an error with your theme, %s."

 Both could use the space and not be sandwiched between the first two large
 paragraphs.

 Cheers

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47050>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list