Make WordPress Core

Opened 13 years ago

Closed 12 years ago

#16712 closed defect (bug) (fixed)

First comment should leave the line break for wpautop

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


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 13 years ago.

Download all attachments as: .zip

Change History (3)

13 years ago

#1 @nacin
12 years ago

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

#2 @markjaquith
12 years 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.