Skip to:
Content

BuddyPress.org

Ticket #7918: 7918.01.patch

File 7918.01.patch, 881 bytes (added by r-a-y, 7 years ago)
  • src/bp-templates/bp-nouveau/includes/activity/functions.php

     
    327327 * @return array the filters
    328328 */
    329329function 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 );
    331331
    332332        $filters_data = bp_get_activity_show_filters();
    333333
    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 );
    335335
    336336        $action = '';
    337337        if ( 'group' === $filters_data['context'] ) {