[wp-trac] [WordPress Trac] #29895: Avoid empty markup in comments
WordPress Trac
noreply at wordpress.org
Wed Oct 8 18:10:12 UTC 2014
#29895: Avoid empty markup in comments
--------------------------+-----------------------------
Reporter: obenland | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 2.7
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29895>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list