diff --git a/src/wp-includes/abilities-api/class-wp-ability.php b/src/wp-includes/abilities-api/class-wp-ability.php index 3af7f7fc9844e..4fa757e55da42 100644 --- a/src/wp-includes/abilities-api/class-wp-ability.php +++ b/src/wp-includes/abilities-api/class-wp-ability.php @@ -193,7 +193,7 @@ public function __construct( string $name, array $args ) { * Prepares and validates the properties used to instantiate the ability. * * Errors are thrown as exceptions instead of WP_Errors to allow for simpler handling and overloading. They are then - * caught and converted to a WP_Error when by WP_Abilities_Registry::register(). + * caught and converted to a WP_Error by WP_Abilities_Registry::register(). * * @since 6.9.0 *