Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6829 closed enhancement

Break up bp-groups-template.php into smaller files.

Reported by: tw2113 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Groups Keywords:
Cc:

Description

Right now, we have four classes and related template functions all defined in one 7000+ line file.

The classes are:
BP_Groups_Template
BP_Groups_Group_Members_Template
BP_Groups_Membership_Requests_Template
BP_Groups_Invite_Template

Logically, I think we could break them up into files based on what the class is related to and include functions that use those class globals. Any functions in the file that don't directly related to a class can remain.

Change History (3)

#1 @tw2113
4 years ago

  • Type changed from defect (bug) to enhancement

#2 @DJPaul
4 years ago

  • Milestone Awaiting Review deleted
  • Status changed from new to closed

Yep. We already have a ticket: #6452

#3 @tw2113
4 years ago

Explains why I didn't find that ticket. Wasn't quite generic enough in my searching. :D

Note: See TracTickets for help on using tickets.