Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/19/2016 06:18:07 PM (8 years ago)
Author:
r-a-y
Message:

Core: Remove redundant strtotime() calls.

See #5781.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-activity.php

    r10825 r11019  
    308308        $throttle_period = apply_filters( 'bp_xprofile_updated_profile_activity_throttle_time', HOUR_IN_SECONDS * 2 );
    309309        $then            = strtotime( $existing['activities'][0]->date_recorded );
    310         $now             = strtotime( bp_core_current_time() );
     310        $now             = bp_core_current_time( true, 'timestamp' );
    311311
    312312        // Bail if throttled.
Note: See TracChangeset for help on using the changeset viewer.