Changeset 8817
- Timestamp:
- 08/12/2014 09:04:05 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-filters.php
r8730 r8817 460 460 return $classes; 461 461 } 462 462 463 463 $classes .= ' date-recorded-' . strtotime( $activity_date ); 464 464 … … 492 492 'activity_latest_args' 493 493 ); 494 495 if ( ! empty( $data['bp_activity_last_recorded_search_terms'] ) && empty( $activity_latest_args['search_terms'] ) ) { 496 $activity_latest_args['search_terms'] = addslashes( $data['bp_activity_last_recorded_search_terms'] ); 497 } 494 498 495 499 $newest_activities = array(); -
trunk/src/bp-templates/bp-legacy/js/buddypress.js
r8470 r8817 417 417 }); 418 418 419 bp_ajax_request = jq.post( ajaxurl,{419 load_more_args = { 420 420 action: 'activity_get_older_updates', 421 421 'cookie': bp_get_cookies(), 422 422 'page': oldest_page, 423 423 'exclude_just_posted': just_posted.join(',') 424 }, 424 } 425 426 load_more_search = bp_get_querystring('s'); 427 428 if ( load_more_search ) { 429 load_more_args.search_terms = load_more_search; 430 } 431 432 bp_ajax_request = jq.post( ajaxurl, load_more_args, 425 433 function(response) 426 434 { … … 1613 1621 1614 1622 data.bp_activity_last_recorded = activity_last_recorded; 1623 1624 last_recorded_search = bp_get_querystring('s'); 1625 1626 if ( last_recorded_search ) { 1627 data.bp_activity_last_recorded_search_terms = last_recorded_search; 1628 } 1615 1629 }); 1616 1630
Note: See TracChangeset
for help on using the changeset viewer.