Skip to:
Content

BuddyPress.org

Opened 6 years ago

Closed 6 years ago

#5988 closed defect (bug) (fixed)

'last_activity' not filtered on multi-network setups

Reported by: johnjamesjacoby Owned by: johnjamesjacoby
Milestone: 2.2 Priority: normal
Severity: major Version: 1.9
Component: Members Keywords: has-patch commit
Cc:

Description

When using BuddyPress in a multi-network configuration, the last_activity meta is saved to usermeta without being prefixed by bp_get_user_meta_key().

Attachments (1)

5988.patch (1.9 KB) - added by johnjamesjacoby 6 years ago.

Download all attachments as: .zip

Change History (4)

This ticket was mentioned in Slack in #buddypress by jjj. View the logs.


6 years ago

#2 @boonebgorges
6 years ago

  • Keywords commit added

Drop it like it's hot

#3 @johnjamesjacoby
6 years ago

  • Owner set to johnjamesjacoby
  • Resolution set to fixed
  • Status changed from new to closed

In 9123:

Use bp_update_user_meta() in bp_update_user_last_activity() to ensure bp_get_user_meta_key filter is ran.

Fixes bug causing last_activity meta to not be prefixed, and includes testcase.

Fixes #5988.

Note: See TracTickets for help on using tickets.