[buddypress-trac] [BuddyPress Trac] #7245: Updating user last_activity doesn't bust activity query cache

buddypress-trac noreply at wordpress.org
Thu May 31 17:21:26 UTC 2018


#7245: Updating user last_activity doesn't bust activity query cache
------------------------------------+---------------------------
 Reporter:  boonebgorges            |       Owner:  boonebgorges
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  2.7
Component:  Members                 |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------------

Comment (by r-a-y):

 In [changeset:"12152" 12152]:
 {{{
 #!CommitTicketReference repository="" revision="12152"
 Activity: After r11101, fix notices when using the legacy activity query.

 r11101 introduced incremented cache improvements when fetching activity
 items.  However, if the legacy activity query is force-enabled and if the
 `'count_total'` parameter is passed, a few notices are thrown due to
 the `$cache_group` variable not being defined.

 This commit addresses this by declaring the `$cache_group` variable during
 the legacy activity query block.

 See #7245.

 Fixes #7848 (3.x branch).
 }}}

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


More information about the buddypress-trac mailing list