Skip to:
Content

BuddyPress.org

Opened 8 years ago

Closed 8 years ago

#7989 closed defect (bug) (fixed)

Emails: Remove breakline in template

Reported by: r-a-y Owned by: djpaul
Priority: normal Milestone: 4.0
Component: Templates Version: 3.0.0
Severity: normal Keywords: has-patch has-screenshots commit
Cc:

Description

Since we switched the email content to use wpautop() in v3.0.0 (#7706), there now is an extra gap after the salutation:

Attachments (2)

email-gap.png (24.3 KB ) - added by r-a-y 8 years ago.
7989.01.patch (2.1 KB ) - added by r-a-y 8 years ago.

Download all attachments as: .zip

Change History (6)

@r-a-y
8 years ago

@r-a-y
8 years ago

#1 @r-a-y
8 years ago

Jumped the gun on posting the ticket!

Meant to write that to fix this, we have to remove the trailing <br> directly after the <hr>.

#2 @DJPaul
8 years ago

  • Milestone 3.3.04.0

#3 @DJPaul
8 years ago

  • Keywords commit added

#4 @djpaul
8 years ago

  • Owner set to djpaul
  • Resolutionfixed
  • Status newclosed

In 12267:

Emails: fix extra whitespace introducedin v3.0.

In #7706, we switched email content to use wpautop(), and there's now an
extra gap after the email greeting. This change removes the hardcoded linebreak.

Fixes #7989

Thanks to @r-a-y

Note: See TracTickets for help on using tickets.