- Timestamp:
- 02/12/2018 08:52:21 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/activity/functions.php
r11855 r11856 155 155 156 156 if ( bp_is_group() ) { 157 $activity_params = array_merge( $activity_params, 158 array( 'object' => 'group', 'item_id' => bp_get_current_group_id() ) 157 $activity_params = array_merge( 158 $activity_params, 159 array( 160 'object' => 'group', 161 'item_id' => bp_get_current_group_id(), 162 ) 159 163 ); 160 164 } … … 186 190 // deprecated hooks 187 191 $deprecated_hooks = array( 188 array( 'bp_before_activity_type_tab_all', 'activity', 0 ),189 array( 'bp_activity_type_tabs', 'activity', 46 ),192 array( 'bp_before_activity_type_tab_all', 'activity', 0 ), 193 array( 'bp_activity_type_tabs', 'activity', 46 ), 190 194 ); 191 195 … … 194 198 $deprecated_hooks, 195 199 array( 196 array( 'bp_before_activity_type_tab_friends', 'activity',6 ),197 array( 'bp_before_activity_type_tab_groups', 'activity', 16 ),200 array( 'bp_before_activity_type_tab_friends', 'activity', 6 ), 201 array( 'bp_before_activity_type_tab_groups', 'activity', 16 ), 198 202 array( 'bp_before_activity_type_tab_favorites', 'activity', 26 ), 199 ) );200 203 ) 204 ); 201 205 202 206 // If the user has favorite create a nav item … … 293 297 */ 294 298 function bp_nouveau_get_activity_filters_array( $output = '', $filters = array(), $context = '' ) { 295 return array( 'filters' => $filters, 'context' => $context ); 299 return array( 300 'filters' => $filters, 301 'context' => $context, 302 ); 296 303 } 297 304 … … 333 340 function bp_nouveau_activity_secondary_avatars( $action, $activity ) { 334 341 switch ( $activity->component ) { 335 case 'groups' :336 case 'friends' :342 case 'groups': 343 case 'friends': 337 344 // Only insert avatar if one exists. 338 345 if ( $secondary_avatar = bp_get_activity_secondary_avatar() ) {
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)