Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/20/2010 10:46:27 AM (14 years ago)
Author:
djpaul
Message:

Use bp_core_current_time() for all timestamps. Fixes #2750.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r3396 r3455  
    787787        $this->field_id     = apply_filters( 'xprofile_data_field_id_before_save', $this->field_id, $this->id );
    788788        $this->value        = apply_filters( 'xprofile_data_value_before_save', $this->value, $this->id );
    789         $this->last_updated = apply_filters( 'xprofile_data_last_updated_before_save', date( 'Y-m-d H:i:s' ), $this->id );
     789        $this->last_updated = apply_filters( 'xprofile_data_last_updated_before_save', bp_core_current_time(), $this->id );
    790790
    791791        do_action( 'xprofile_data_before_save', $this );
Note: See TracChangeset for help on using the changeset viewer.