Changeset 5066
- Timestamp:
- 08/30/2011 06:44:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r5058 r5066 1105 1105 global $bp; 1106 1106 1107 if ( bp_is_current_component( 'activity' ) && bp_is_current_action( 'my-friends' ) ) 1107 if ( bp_is_current_component( 'activity' ) && bp_is_current_action( bp_get_friends_slug() ) ) 1108 return true; 1109 1110 return false; 1111 } 1112 1113 function bp_is_user_groups_activity() { 1114 global $bp; 1115 1116 if ( bp_is_current_component( 'activity' ) && bp_is_current_action( bp_get_groups_slug() ) ) 1108 1117 return true; 1109 1118 … … 1526 1535 if ( bp_is_user_friends_activity() ) 1527 1536 $bp_classes[] = 'friends-activity'; 1537 1538 if ( bp_is_user_groups_activity() ) 1539 $bp_classes[] = 'groups-activity'; 1528 1540 1529 1541 if ( is_user_logged_in() )
Note: See TracChangeset
for help on using the changeset viewer.