diff --git src/bp-activity/bp-activity-template.php src/bp-activity/bp-activity-template.php
index 6c5ea1f..c8c0ac7 100644
|
|
function bp_has_activities( $args = '' ) { |
589 | 589 | } |
590 | 590 | |
591 | 591 | if ( empty( $search_terms ) && ! empty( $_REQUEST['s'] ) ) |
592 | | $search_terms = $_REQUEST['s']; |
| 592 | $search_terms = htmlentities2( $_REQUEST['s'] ); |
593 | 593 | |
594 | 594 | // If you have passed a "scope" then this will override any filters you have passed. |
595 | 595 | if ( 'just-me' == $scope || 'friends' == $scope || 'groups' == $scope || 'favorites' == $scope || 'mentions' == $scope ) { |