Make WordPress Core

Opened 8 weeks ago

Closed 3 weeks ago

#65109 closed defect (bug) (fixed)

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

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

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 8 weeks ago.

Download all attachments as: .zip

Change History (3)

@thriveteam
8 weeks ago

#1 @westonruter
8 weeks ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 7.1
  • Owner set to westonruter
  • Status changed from new to reviewing
  • Version set to 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
3 weeks ago

  • Resolution set to fixed
  • Status changed from reviewing to 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.