[buddypress-trac] [BuddyPress Trac] #6388: Groups single item home : improve the way we deal with custom front and activity component
buddypress-trac
noreply at wordpress.org
Fri Sep 25 22:13:22 UTC 2015
#6388: Groups single item home : improve the way we deal with custom front and
activity component
-------------------------------------------------+-------------------------
Reporter: imath | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.4
Component: Component - Groups | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion needs-testing |
needs-docs |
-------------------------------------------------+-------------------------
Comment (by r-a-y):
Nice work, imath!
`03.patch` makes some minor changes:
* Removes function parameters in `bp_groups_load_group_front_template()`.
I removed these parameters because I'm not sure when this function would
need to be used outside a single group page.
* Renames `bp_groups_load_group_front_template()` to
`bp_groups_front_template_part()` so it is similar to
`bp_groups_members_template_part()`.
* Renames `bp_groups_get_group_front_template()` to
`bp_groups_get_front_template()`.
* Registers the `activity` subnav at position 11 so the `'Activity'` tab
displays right after the custom `'Home'` tab. Before, the 'Activity' tab
would display near the very end of the group subnav, which looks a little
awkward.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6388#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list