- Timestamp:
- 02/01/2016 06:53:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r10296 r10487 730 730 731 731 $object_search_text = bp_get_search_default_text( $object ); 732 732 if ( ! empty( $_POST['search_terms'] ) && $object_search_text != $_POST['search_terms'] && 'false' != $_POST['search_terms'] && 'undefined' != $_POST['search_terms'] ) 733 733 $qs[] = 'search_terms=' . urlencode( $_POST['search_terms'] ); 734 734 … … 794 794 return; 795 795 796 796 /** 797 797 * AJAX requests happen too early to be seen by bp_update_is_directory() 798 798 * so we do it manually here to ensure templates load with the correct
Note: See TracChangeset
for help on using the changeset viewer.