Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/19/2013 08:37:02 PM (9 years ago)
Author:
boonebgorges
Message:

In bp_has_activities(), allow 'favorites' to be filtered by 'Show' dropdown

Switching the 'favorites' logic to interpret the favorite ids as part of the
'in' parameter rather than the 'include' paramater allows other filter params,
including those in the 'Show' dropdown on activity directories (the 'action'
parameter of bp_has_activities()) to work.

Fixes #4872

Props chroniko

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-template.php

    r6904 r6926  
    411411                        return false;
    412412
    413                     $include          = implode( ',', (array) $favs );
     413                    $in = implode( ',', (array) $favs );
    414414                    $display_comments = true;
     415                    $user_id = 0;
    415416                    break;
    416417                case 'mentions':
Note: See TracChangeset for help on using the changeset viewer.