Changeset 5758 for trunk/bp-groups/bp-groups-template.php
- Timestamp:
- 02/13/2012 05:46:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-template.php
r5729 r5758 246 246 247 247 // Type 248 if ( 'my-groups' == $bp->current_action) {248 if ( bp_is_current_action( 'my-groups' ) ) { 249 249 if ( 'most-popular' == $order ) { 250 250 $type = 'popular'; … … 252 252 $type = 'alphabetical'; 253 253 } 254 } elseif ( 'invites' == $bp->current_action) {254 } elseif ( bp_is_current_action( 'invites' ) ) { 255 255 $type = 'invites'; 256 256 } elseif ( isset( $bp->groups->current_group->slug ) && $bp->groups->current_group->slug ) {
Note: See TracChangeset
for help on using the changeset viewer.