[wp-trac] [WordPress Trac] #65384: Fix duplicate-word and spelling typos in docblocks and comments

WordPress Trac noreply at wordpress.org
Mon Jun 1 13:23:10 UTC 2026


#65384: Fix duplicate-word and spelling typos in docblocks and comments
--------------------------+-----------------------------
 Reporter:  khokansardar  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  minor         |   Keywords:  has-patch
  Focuses:  docs          |
--------------------------+-----------------------------
 Several docblocks and inline comments in WordPress core contain duplicated
 words (`the the`, `in in`, `on on`, `is is`, `from from`, `and and`) and
 one minor misspelling (`Compatability`). These do not affect runtime
 behavior but reduce documentation quality.

 This ticket proposes correcting WordPress-owned files only, leaving third-
 party/bundled libraries (ID3, PHPMailer, SimplePie, plupload, jQuery UI)
 to be handled upstream.

 Affected areas:
   * src/wp-includes/ (fonts.php, comment.php, block-template.php,
     block-supports/settings.php, rest-api/class-wp-rest-server.php,
     class-wp-customize-manager.php, class-wp-theme-json-data.php,
     class-wp-recovery-mode-email-service.php)
   * src/js/_enqueues/ (wp/dashboard.js, wp/widgets/custom-html.js,
     deprecated/fakejshint.js)
   * tests/phpunit/ (9 comment/docblock fixes)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65384>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list