- Timestamp:
- 05/07/2013 11:42:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.7/bp-templates/bp-legacy/buddypress-functions.php
r6867 r7014 415 415 // If page and search_terms have been passed via the AJAX post request, use those. 416 416 if ( ! empty( $_POST['page'] ) && '-1' != $_POST['page'] ) 417 $qs[] = 'page=' . $_POST['page'];417 $qs[] = 'page=' . absint( $_POST['page'] ); 418 418 419 419 $object_search_text = bp_get_search_default_text( $object );
Note: See TracChangeset
for help on using the changeset viewer.