[buddypress-trac] [BuddyPress Trac] #7882: Stop mirroring user last_activity data to usermeta

buddypress-trac noreply at wordpress.org
Thu Sep 24 00:28:42 UTC 2020


#7882: Stop mirroring user last_activity data to usermeta
------------------------------------+---------------------
 Reporter:  boonebgorges            |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  7.0.0
Component:  Members                 |     Version:  2.0
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+---------------------
Changes (by r-a-y):

 * keywords:  dev-feedback needs-patch => dev-feedback has-patch


Comment:

 `02.patch` only allows the `'last_activity'` usermeta mirroring if the
 `'bp_use_legacy_user_query'` filter is forced to `true`. I've added PHPDoc
 where appropriate.

 One other thing I wanted to fix was the `BP_Core_User::get_user_extras()`
 method and how it should use the activity DB table instead of usermeta for
 last activity. This is now done as well.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7882#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list