#29895 closed defect (bug) (fixed)
Avoid empty markup in comments
| Reported by: | obenland | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Comments | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch twenty-fifteen |
| Cc: | Focuses: | template |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Tagging with
twenty-fifteento keep track of it.