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

buddypress-trac noreply at wordpress.org
Sat Jun 23 18:08:07 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:  has-patch     |
--------------------------+---------------------
Changes (by boonebgorges):

 * keywords:  2nd-opinion good-first-bug needs-patch => has-patch


Comment:

 [attachment:7882.diff] is a first pass. The mirroring is disabled by
 default, but can be reenabled.

 I haven't changed anything about the way the `get_user_meta(
 'last_activity' )` behavior works. It still triggers `_doing_it_wrong()`,
 and it still returns the value from the activity table. I don't see a
 reason why the new filter would affect this. Even if you're not mirroring
 - perhaps *especially* if you're not mirroring - developers ought to see
 the notice, and I don't think it causes any problems to continue to
 provide the correct value out of the activity table.

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


More information about the buddypress-trac mailing list