Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6829 closed enhancement

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

Reported by: tw2113 Owned by:
Priority: normal Milestone:
Component: Groups Version:
Severity: normal 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
11 years ago

  • Type defect (bug)enhancement

#2 @DJPaul
11 years ago

  • Milestone Awaiting Review
  • Status newclosed

Yep. We already have a ticket: #6452

#3 @tw2113
11 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.