[buddypress-trac] [BuddyPress Trac] #6829: Break up bp-groups-template.php into smaller files.

buddypress-trac noreply at wordpress.org
Sun Jan 17 05:50:05 UTC 2016


#6829: Break up bp-groups-template.php into smaller files.
--------------------------------+-----------------------------
 Reporter:  tw2113              |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Component - Groups  |    Version:
 Severity:  normal              |   Keywords:
--------------------------------+-----------------------------
 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.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6829>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list