Make WordPress Core

Opened 6 months ago

Closed 5 months ago

#65109 closed defect (bug) (fixed)

Abilities API: Duplicated $args variable in WP_Ability_Category::prepare_properties() PHPDoc

Reported by: thriveteam Owned by: westonruter
Priority: normal Milestone: 7.1
Component: Abilities API Version: 6.9
Severity: normal Keywords: has-patch commit
Cc: Focuses: docs

Description

In src/wp-includes/abilities-api/class-wp-ability-category.php, the prepare_properties() method contains a syntax error in its PHPDoc block. The variable name $args is duplicated in the @param tag.

Location: class-wp-ability-category.php

Attachments (1)

65109.diff​ (669 bytes ) - added by thriveteam 6 months ago.

Download all attachments as: .zip

Change History (3)

@thriveteam
6 months ago

#1 @westonruter
6 months ago

  • Keywords commit added
  • Milestone Awaiting Review → 7.1
  • Owner set to westonruter
  • Status new → reviewing
  • Version → 6.9

Patch looks good. Trunk is currently frozen for 7.0 so we can commit this once that is opened back up.

#2 @SergeyBiryukov
5 months ago

  • Resolution → fixed
  • Status reviewing → closed

In 62416:

Docs: Remove extra $args in WP_Ability_Category::prepare_properties().

Follow-up to [61032].

Props thriveteam, westonruter.
Fixes #65109.

Note: See TracTickets for help on using tickets.