Changeset 2712 for trunk/bp-themes/bp-default/_inc/ajax.php
- Timestamp:
- 02/12/2010 06:52:58 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-default/_inc/ajax.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/ajax.php
r2692 r2712 18 18 * By using cookies we can also make sure that user settings are retained across page loads. 19 19 */ 20 function bp_dtheme_ajax_querystring( $ object = false) {20 function bp_dtheme_ajax_querystring( $query_string, $object ) { 21 21 global $bp; 22 22 … … 62 62 return apply_filters( 'bp_dtheme_ajax_querystring', $query_string, $object, $_BP_COOKIE['bp-' . $object . '-filter'], $_BP_COOKIE['bp-' . $object . '-scope'], $_BP_COOKIE['bp-' . $object . '-page'], $_BP_COOKIE['bp-' . $object . '-search-terms'], $_BP_COOKIE['bp-' . $object . '-extras'] ); 63 63 } 64 add_filter( 'bp_ajax_querystring', 'bp_dtheme_ajax_querystring', 10, 2 ); 64 65 65 66 /* This function will simply load the template loop for the current object. On an AJAX request */
Note:
See TracChangeset
for help on using the changeset viewer.