[wp-trac] [WordPress Trac] #64265: Twenty Twenty-Five: Remove redundant inline comments from functions.php
WordPress Trac
noreply at wordpress.org
Wed Nov 19 05:53:28 UTC 2025
#64265: Twenty Twenty-Five: Remove redundant inline comments from functions.php
-----------------------------+------------------------------
Reporter: huzaifaalmesbah | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.7
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by huzaifaalmesbah):
@westonruter Thanks for reviewing the ticket. This isn’t a functional
issue it's really just about keeping DRY (“Don’t Repeat Yourself”). The
DocBlock already explains what the function does, so the inline comment is
basically repeating the same thing without adding any real value.
Just duplication and doesn’t actually break any documentation rules.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64265#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list