Changeset 1982 for trunk/bp-groups.php
- Timestamp:
- 09/28/2009 10:49:53 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r1976 r1982 261 261 262 262 /* Add a new default subnav item for when the groups nav is selected. */ 263 bp_core_ add_nav_default( $bp->groups->slug, 'groups_screen_group_home', 'home');263 bp_core_new_nav_default( array( 'parent_slug' => $bp->groups->slug, 'screen_function' => 'groups_screen_group_home', 'subnav_slug' => 'home' ) ); 264 264 265 265 /* Add the "Home" subnav item, as this will always be present */ … … 299 299 global $bp; 300 300 301 if ( $bp->current_component == $bp->groups->slug && empty( $bp->current_action ) ) {301 if ( $bp->current_component == $bp->groups->slug && empty( $bp->current_action ) && empty( $bp->current_item ) ) { 302 302 $bp->is_directory = true; 303 303
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)