[buddypress-trac] [BuddyPress Trac] #7848: Using the legacy activity query causes notices
buddypress-trac
noreply at wordpress.org
Wed May 30 17:11:44 UTC 2018
#7848: Using the legacy activity query causes notices
------------------------------+-----------------------
Reporter: r-a-y | Owner: r-a-y
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.1.0
Component: Activity | Version: 3.0.0
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Comment (by r-a-y):
You're correct that the main activity DB query would not be cached in
legacy mode, but it would cache the activity total count:
https://buddypress.trac.wordpress.org/browser/tags/3.0.0/src/bp-
activity/classes/class-bp-activity-activity.php?marks=742,745#L729
I copied the `preg_match` stuff from r11101, which I believe should also
catch legacy queries, but I haven't fully tested.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7848#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list