[wp-trac] [WordPress Trac] #64016: Unnecessary HTML comments in the comments walker.
WordPress Trac
noreply at wordpress.org
Sat Sep 20 22:24:11 UTC 2025
#64016: Unnecessary HTML comments in the comments walker.
-------------------------+------------------------------
Reporter: edent | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 6.8.2
Severity: trivial | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by SergeyBiryukov):
Hi there, thanks for the ticket!
Replying to [comment:1 edent]:
> Similarly, there's an unnecessary `<!-- #respond -->` at
[https://github.com/WordPress/WordPress/blob/69ced2eb1fc85ec5e106384b48c8015c77468402
/wp-includes/comment-template.php#L2901 comment-template.php#L2901]
Introduced in [14092] / #13016.
Personally, I don't see any harm in keep these comments as is, they seem
helpful to determine which element the closing tag corresponds to,
especially with multiple `</div>` or `</ul>` tags on the page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64016#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list