WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 22 months ago

#16712 closed defect (bug) (fixed)

First comment should leave the line break for wpautop

Reported by: nacin Owned by: markjaquith
Milestone: 3.5 Priority: normal
Severity: trivial Version:
Component: Comments Keywords: has-patch commit
Focuses: Cc:

Description

Besides being good form and the proper way to store comment text in the database, the <br /> gets stripped in get_comment_excerpt() and causes "Hi, this is a comment.To delete a comment," in the recent comments dashboard widget (note the lack of a space).

Attachments (1)

16712.diff (893 bytes) - added by nacin 3 years ago.

Download all attachments as: .zip

Change History (3)

nacin3 years ago

comment:1 nacin22 months ago

  • Keywords 3.2-early removed
  • Milestone changed from Future Release to 3.5

comment:2 markjaquith22 months ago

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

In [21234]:

Insert a proper line break (instead of an HTML line break) into the "first comment". props nacin. fixes #16712

Note: See TracTickets for help on using tickets.