Changeset 8813
- Timestamp:
- 08/12/2014 01:43:56 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-xprofile/bp-xprofile-activity.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-activity.php
r8808 r8813 296 296 // Default throttle time is 2 hours. Filter to change (in seconds) 297 297 if ( ! empty( $existing['activities'] ) ) { 298 $throttle_period = apply_filters( 'bp_xprofile_updated_profile_activity_throttle_time', 60 * 60* 2 );298 $throttle_period = apply_filters( 'bp_xprofile_updated_profile_activity_throttle_time', HOUR_IN_SECONDS * 2 ); 299 299 $then = strtotime( $existing['activities'][0]->date_recorded ); 300 300 $now = strtotime( bp_core_current_time() );
Note: See TracChangeset
for help on using the changeset viewer.