- Timestamp:
- 07/24/2014 01:11:05 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r8686 r8687 1401 1401 $limit = isset( $_GET['limit'] ) ? absint( $_GET['limit'] ) : (int) apply_filters( 'bp_autocomplete_max_results', 10 ); 1402 1402 $term = isset( $_GET['q'] ) ? sanitize_text_field( $_GET['q'] ) : ''; 1403 1403 1404 1404 // Include everyone in the autocomplete, or just friends? 1405 1405 if ( bp_is_current_component( bp_get_messages_slug() ) ) {
Note: See TracChangeset
for help on using the changeset viewer.