Skip to:
Content

BuddyPress.org

Opened 4 weeks ago

Last modified 4 weeks ago

#9284 new defect (bug)

Members widget doesnt show the correct statement of "last active".

Reported by: hexalibre's profile hexalibre Owned by:
Milestone: Awaiting Contributions Priority: highest
Severity: major Version: 14.3.2
Component: Core Keywords: needs-patch
Cc: emaralive

Description

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.

Change History (1)

#1 @emaralive
4 weeks ago

  • Cc emaralive added
Note: See TracTickets for help on using tickets.