Make WordPress Core

Opened 3 weeks ago

Closed 3 weeks ago

#64503 closed defect (bug) (fixed)

Fix grammatical error in class-wp-ability.php

Reported by: hbhalodia's profile hbhalodia Owned by: westonruter's profile westonruter
Milestone: 7.0 Priority: normal
Severity: normal Version: trunk
Component: AI Keywords: has-patch
Focuses: Cc:

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 (3)

#2 @SergeyBiryukov
3 weeks ago

  • Milestone changed from Awaiting Review to 7.0

#3 @westonruter
3 weeks ago

  • Owner set to westonruter
  • Resolution set to fixed
  • Status changed from new to closed

In 61483:

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

Follow-up to [61032].

Props hbhalodia.
See #64098.
Fixes #64503.

Note: See TracTickets for help on using tickets.