#29895 closed defect (bug) (fixed)
Avoid empty markup in comments
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.1 | Priority: | normal |
| Severity: | normal | Version: | 2.7 |
| Component: | Comments | Keywords: | has-patch twenty-fifteen |
| Focuses: | template | Cc: |
Description
When comment_reply_link() doesn't display a link, like when comments are closed, both Walker_Comment::comment() and Walker_Comment::html5_comment() still display the empty wrapper div.
This can lead to design irregularities when margins or paddings are applied to that element, but shouldn't since the link to pad is non-existent.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Tagging with
twenty-fifteento keep track of it.