Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

#6785 closed enhancement (fixed)

Update bp_has_groups docblock

Reported by: dcavins Owned by: dcavins
Milestone: 2.5 Priority: low
Severity: minor Version: 2.4.0
Component: Groups Keywords: has-patch commit
Cc: dcavins

Description

The docblock claims default values for the parameters that don't match the parse_args values. I've updated the docblock to reflect the defaults that are being used. I also added missing args and reordered the existing args to match their usage in the function.

Attachments (1)

6785.01.patch (6.7 KB) - added by dcavins 5 years ago.

Download all attachments as: .zip

Change History (3)

@dcavins
5 years ago

#1 @DJPaul
5 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 2.5

#2 @dcavins
5 years ago

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

In 10452:

Update bp_has_groups() documentation.

Update docblock by adding missing parameters,
updating parameter order and correcting
description of default values.

Fixes #6785.

Note: See TracTickets for help on using tickets.