Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 11 years ago

#9305 closed defect (bug) (duplicate)

wpautop: empty post_content results in br tag when output

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

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

Download all attachments as: .zip

Change History (5)

#1 @FFEMTcJ
17 years ago

  • Milestone Unassigned2.7.2
  • Priority normallow
  • Severity normaltrivial

#2 @sivel
17 years ago

  • Keywords has-patch added
  • Version2.7.1

#3 @Denis-de-Bernardy
17 years ago

  • Resolutionduplicate
  • Status newclosed

dup of #6128, which also fixes the javascript

#4 @DrewAPicture
11 years ago

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