Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 10 years ago

#9305 closed defect (bug) (duplicate)

wpautop: empty post_content results in br tag when output

Reported by: gcorne's profile gcorne Owned by:
Milestone: Priority: low
Severity: trivial Version: 2.7.1
Component: General Keywords: has-patch
Focuses: Cc:

Description

If the post_content field is empty, wpautop outputs a <br />. This can cause design issues when post_content is optional requiring php code in the theme to work-a-around the issue.

Attachments (1)

formatting.php.diff (493 bytes) - added by gcorne 16 years ago.

Download all attachments as: .zip

Change History (5)

#1 @FFEMTcJ
16 years ago

  • Milestone changed from Unassigned to 2.7.2
  • Priority changed from normal to low
  • Severity changed from normal to trivial

#2 @sivel
16 years ago

  • Keywords has-patch added
  • Version set to 2.7.1

#3 @Denis-de-Bernardy
16 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

dup of #6128, which also fixes the javascript

#4 @DrewAPicture
10 years ago

  • Milestone 2.7.2 deleted
Note: See TracTickets for help on using tickets.