[buddypress-trac] [BuddyPress Trac] #9284: Members widget doesnt show the correct statement of "last active".

buddypress-trac noreply at wordpress.org
Wed May 14 13:22:20 UTC 2025


#9284: Members widget doesnt show the correct statement of "last active".
--------------------------+------------------------------------
 Reporter:  hexalibre     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  highest       |  Milestone:  Awaiting Contributions
Component:  Core          |    Version:  14.3.2
 Severity:  major         |   Keywords:  needs-patch
--------------------------+------------------------------------
 I am using buddypress on a clients site in a timezone which is UTC + 2
 hours. When a user registers NOW the widget shows for this member
 "registered sometime ago", cause the time cant be calculated.
 Reason: Lets say its 4 PM local time, but for for buddypress it is 2 PM.
 This leads to a miscalculation cause wordpress stores the correct local
 time at the "registered at" datetime on the database.

 I had a look bp_core_time_since() which calculates the time for this
 widget. This function relies on bp_core_current_time()  which relies on
 WordPress's current_time(). But since WordPress 5.3 current_time()
 shouldn't be in use anymore cause there where some improvements. Maybe
 this might be the cause.

 Can you fix this please.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9284>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list