[wp-trac] [WordPress Trac] #64503: Fix grammatical error in class-wp-ability.php
WordPress Trac
noreply at wordpress.org
Wed Jan 14 05:03:58 UTC 2026
#64503: Fix grammatical error in class-wp-ability.php
--------------------------+-----------------------------
Reporter: hbhalodia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: AI | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
## Issue
While reviewing the codebase for the Abilities API, I used Copilot to
check for grammatical issues across the files. During this review, I
noticed a minor grammatical error that is easy to miss when scanning
multiple files at once.
* In the file `class-wp-ability.php`, there is a grammatical mistake on
the following line:
https://github.com/WordPress/wordpress-
develop/blob/2d8f37d2a8ba53f2fa286dbf0e6b6399cf3c0784/src/wp-includes
/abilities-api/class-wp-ability.php#L196
* **Current text:**
`caught and converted to a WP_Error when by
WP_Abilities_Registry::register().`
* **Proposed correction:**
`caught and converted to a WP_Error by
WP_Abilities_Registry::register().`
* The word **“when”** is redundant and should be removed to correct the
sentence.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64503>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list