#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)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
dup of #6128, which also fixes the javascript