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

buddypress-trac noreply at wordpress.org
Mon Jun 11 19:30:45 UTC 2018


#7882: Stop mirroring user last_activity data to usermeta
----------------------------------------------------+---------------------
 Reporter:  boonebgorges                            |       Owner:  (none)
     Type:  enhancement                             |      Status:  new
 Priority:  normal                                  |   Milestone:  4.0
Component:  Members                                 |     Version:  2.0
 Severity:  normal                                  |  Resolution:
 Keywords:  2nd-opinion good-first-bug needs-patch  |
----------------------------------------------------+---------------------

Comment (by boonebgorges):

 Replying to [comment:1 DJPaul]:
 > I think it’s time to stop the sync yes.
 >
 > But how about add a filter to user meta that intercepts the request
 before it’s made, and we call activity meta and return that instead? Maybe
 that’s the filterable option rather than reenabling the sync.

 If I'm understanding your suggestion correctly, then we already do this:
 https://buddypress.trac.wordpress.org/browser/tags/3.0.0/src/bp-members
 /bp-members-functions.php?marks=1053,1043#L1014

 But yes, if we have a "enable legacy mode" filter, we can have it apply to
 both writing and retrieving.

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


More information about the buddypress-trac mailing list