[buddypress-trac] [BuddyPress Trac] #7848: Using the legacy activity query causes notices
buddypress-trac
noreply at wordpress.org
Thu May 31 17:21:49 UTC 2018
#7848: Using the legacy activity query causes notices
------------------------------+---------------------
Reporter: r-a-y | Owner: r-a-y
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.1.0
Component: Activity | Version: 3.0.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Comment (by r-a-y):
In [changeset:"12153" 12153]:
{{{
#!CommitTicketReference repository="" revision="12153"
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.
Fixes #7848 (trunk).
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7848#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list