Changeset 11377
- Timestamp:
- 01/06/2017 03:47:06 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r11369 r11377 688 688 // Activity stream filtering on action. 689 689 if ( ! empty( $_BP_COOKIE['bp-' . $object . '-filter'] ) && '-1' != $_BP_COOKIE['bp-' . $object . '-filter'] ) { 690 $qs[] = 'type=' . $_BP_COOKIE['bp-' . $object . '-filter']; 691 690 692 $actions = bp_activity_get_actions_for_context(); 691 693 foreach ( $actions as $action ) { 692 694 if ( $action['key'] === $_BP_COOKIE['bp-' . $object . '-filter'] ) { 693 $qs[] = 'type=' . $_BP_COOKIE['bp-' . $object . '-filter'];694 695 $qs[] = 'action=' . $_BP_COOKIE['bp-' . $object . '-filter']; 695 696 }
Note: See TracChangeset
for help on using the changeset viewer.