Changeset 7014 for branches/1.7/bp-themes/bp-default/_inc/ajax.php
- Timestamp:
- 05/07/2013 11:42:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.7/bp-themes/bp-default/_inc/ajax.php
r6740 r7014 125 125 // If page and search_terms have been passed via the AJAX post request, use those. 126 126 if ( ! empty( $_POST['page'] ) && '-1' != $_POST['page'] ) 127 $qs[] = 'page=' . $_POST['page'];127 $qs[] = 'page=' . absint( $_POST['page'] ); 128 128 129 129 $object_search_text = bp_get_search_default_text( $object );
Note: See TracChangeset
for help on using the changeset viewer.