- Timestamp:
- 11/02/2017 02:50:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r11651 r11725 689 689 // Activity stream filtering on action. 690 690 if ( ! empty( $_BP_COOKIE['bp-' . $object . '-filter'] ) && '-1' != $_BP_COOKIE['bp-' . $object . '-filter'] ) { 691 $qs[] = 'type=' . $_BP_COOKIE['bp-' . $object . '-filter'];691 $qs[] = 'type=' . urlencode( $_BP_COOKIE['bp-' . $object . '-filter'] ); 692 692 693 693 if ( bp_is_active( 'activity' ) ) { … … 712 712 // Activity stream scope only on activity directory. 713 713 if ( 'all' != $_BP_COOKIE['bp-' . $object . '-scope'] && ! bp_displayed_user_id() && ! bp_is_single_item() ) 714 $qs[] = 'scope=' . $_BP_COOKIE['bp-' . $object . '-scope'];714 $qs[] = 'scope=' . urlencode( $_BP_COOKIE['bp-' . $object . '-scope'] ); 715 715 } 716 716
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)