Skip to:
Content

BuddyPress.org

Opened 3 months ago

Closed 3 months ago

#9220 closed defect (bug) (fixed)

Improve PHP Docblocks for the BP_Members_Invitations_Component class

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 15.0.0 Priority: normal
Severity: normal Version: 12.0.0
Component: Members Keywords: has-patch
Cc:

Description

  • the public keyword is missing to the constructor
  • the PHP docblock of the constructor is missing
  • A PHP docblock added to the class would be nice to explain why we used a component to organize a feature.

Change History (2)

This ticket was mentioned in PR #354 on buddypress/buddypress by @imath.


3 months ago
#1

  • Keywords has-patch added

Adds 2 PHP doc blocks + the missing public keyword to the constructor.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9220

#2 @imath
3 months ago

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

In 13993:

Improve inline comments for the BP_Members_Invitations_Component

  • Add a PHP doc block to this class.
  • Add another PHP doc block to the class constructor.
  • Add the missing public keyword to this constructor.

Fixes #9220
Closes https://github.com/buddypress/buddypress/pull/354

Note: See TracTickets for help on using tickets.