Skip to:
Content

BuddyPress.org

Opened 6 years ago

Closed 6 years ago

#7989 closed defect (bug) (fixed)

Emails: Remove breakline in template

Reported by: r-a-y's profile r-a-y Owned by: djpaul's profile djpaul
Milestone: 4.0 Priority: normal
Severity: normal Version: 3.0.0
Component: Templates 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 6 years ago.
7989.01.patch (2.1 KB) - added by r-a-y 6 years ago.

Download all attachments as: .zip

Change History (6)

@r-a-y
6 years ago

@r-a-y
6 years ago

#1 @r-a-y
6 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
6 years ago

  • Milestone changed from 3.3.0 to 4.0

#3 @DJPaul
6 years ago

  • Keywords commit added

#4 @djpaul
6 years ago

  • Owner set to djpaul
  • Resolution set to fixed
  • Status changed from new to closed

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.