Make WordPress Core

Opened 9 months ago

Closed 9 months ago

Last modified 6 months ago

#64503 closed defect (bug) (fixed)

Fix grammatical error in class-wp-ability.php

Reported by: hbhalodia Owned by: westonruter
Priority: normal Milestone: 7.0
Component: Abilities API Version: 7.0
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

## 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.

  • 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.

Change History (4)

#2 @SergeyBiryukov
9 months ago

  • Milestone Awaiting Review → 7.0

#3 @westonruter
9 months ago

  • Owner set to westonruter
  • Resolution → fixed
  • Status new → closed

In 61483:

Docs: Fix grammatical error in docs for WP_Ability::prepare_properties().

Follow-up to [61032].

Props hbhalodia.
See #64098.
Fixes #64503.

#4 @desrosj
6 months ago

  • Component AI → Abilities API

Moving tickets related to the Abilities API to a new sub-component.

Note: See TracTickets for help on using tickets.