Ticket #7918: 7918.01.patch
File 7918.01.patch, 881 bytes (added by , 7 years ago) |
---|
-
src/bp-templates/bp-nouveau/includes/activity/functions.php
327 327 * @return array the filters 328 328 */ 329 329 function bp_nouveau_get_activity_filters() { 330 add_filter( 'bp_get_activity_show_filters', 'bp_nouveau_get_activity_filters_array', 10, 3 );330 add_filter( 'bp_get_activity_show_filters', 'bp_nouveau_get_activity_filters_array', 999999, 3 ); 331 331 332 332 $filters_data = bp_get_activity_show_filters(); 333 333 334 remove_filter( 'bp_get_activity_show_filters', 'bp_nouveau_get_activity_filters_array', 10, 3);334 remove_filter( 'bp_get_activity_show_filters', 'bp_nouveau_get_activity_filters_array', 999999 ); 335 335 336 336 $action = ''; 337 337 if ( 'group' === $filters_data['context'] ) {