[buddypress-trac] [BuddyPress] #2750: bp_core_current_time() not being used for all timestamps
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sat Nov 20 10:38:40 UTC 2010
#2750: bp_core_current_time() not being used for all timestamps
--------------------+-------------------------------------------------------
Reporter: DJPaul | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.3
Component: Core | Version:
Keywords: |
--------------------+-------------------------------------------------------
In trunk, not all of the timestamps are being generated by the
bp_core_current_time() wrapper function: some of the 'last_activity'
timestamps, xprofile data 'last_updated' and bbPress' bb_insert_topic()
and bp_forums_insert_post().
bp_core_current_time() is BP's wrapper function around current_time()
because old versions of BuddyPress had been very inconsistent about
whether a GMT timestamp was provided (or not).
As some of these last_updated/_activity timestamps are re-generated every
few minutes, and others are not exposed in the BP-Default theme, this
appears to have had minimal impact so far.
--
Ticket URL: <https://trac.buddypress.org/ticket/2750>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list