Skip to content

Commit d015d16

Browse files
committed
Docs: Fix grammatical error in docs for WP_Ability::prepare_properties().
Follow-up to [61032]. Props hbhalodia. See #64098. Fixes #64503. git-svn-id: https://develop.svn.wordpress.org/trunk@61483 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a5f047a commit d015d16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/abilities-api/class-wp-ability.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function __construct( string $name, array $args ) {
193193
* Prepares and validates the properties used to instantiate the ability.
194194
*
195195
* Errors are thrown as exceptions instead of WP_Errors to allow for simpler handling and overloading. They are then
196-
* caught and converted to a WP_Error when by WP_Abilities_Registry::register().
196+
* caught and converted to a WP_Error by WP_Abilities_Registry::register().
197197
*
198198
* @since 6.9.0
199199
*

0 commit comments

Comments
 (0)