Repository navigation
Docs: Fix duplicate words and a typo in inline comments - #15395
devansh016 wants to merge 1 commit into
Conversation
Removes words repeated across line breaks in comments in media.js, WP_Customize_Manager, WP_Query and functions.php, and corrects "flate" to "flat" in WP_Tax_Query. See #65860.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
Thanks for the PR! Merged in r65407. |
Trac ticket: https://core.trac.wordpress.org/ticket/65860
Comments and docblocks only.
Removes duplicated words that span a line break:
src/js/_enqueues/wp/widgets/media.js: "uses uses"src/wp-includes/class-wp-customize-manager.php: "then then", "the the"src/wp-includes/class-wp-query.php: "the the" (in the$sparameter docs)src/wp-includes/functions.php: "as as"Fixes a typo:
src/wp-includes/class-wp-tax-query.php: "flate" → "flat". This fix was part of Docs: Fix typos in inline comments and correct docblocks added in 7.2 #14844, butclass-wp-tax-query.phpwasn't included in the commits from that PR.Testing
php -land PHPCS are clean on the changed PHP files.AI disclosure
Found with codespell and a doubled-word search run by Claude Code; I reviewed every change.