Opened 4 years ago
Closed 4 years ago
#9305 closed defect (bug) (duplicate)
wpautop: empty post_content results in br tag when output
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 2.7.2 |
| Component: | General | Version: | 2.7.1 |
| Severity: | trivial | Keywords: | has-patch |
| 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)
Change History (4)
Note: See
TracTickets for help on using
tickets.
dup of #6128, which also fixes the javascript