[buddypress-trac] [BuddyPress Trac] #7515: Inefficient db query

buddypress-trac noreply at wordpress.org
Tue May 2 22:15:24 UTC 2017


#7515: Inefficient db query
--------------------------+------------------
 Reporter:  sourfew       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:
Component:  Core          |     Version:  2.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------
Changes (by r-a-y):

 * keywords:  reporter-feedback =>
 * version:  2.8.2 => 2.2
 * milestone:  Awaiting Review =>


Comment:

 > Thanks, I followed the support thread to turn off mentions for logged
 out users and that worked fine.

 The mentions script only runs for active users:
 https://buddypress.trac.wordpress.org/browser/tags/2.8.2/src/bp-friends
 /bp-friends-functions.php?marks=776-778#L766
 https://buddypress.trac.wordpress.org/browser/tags/2.8.2/src/bp-activity
 /bp-activity-functions.php?marks=66#L57
 https://buddypress.trac.wordpress.org/browser/tags/2.8.2/src/bp-members
 /bp-members-functions.php?marks=1083,1090-1093#L1075

 So it is possible that you are running a code snippet that is trying to
 enable this for logged-out users somewhere.

 Going to close this as a duplicate of #7487.

 If you have any other things to add to duplicate the issue for logged-out
 users, let us know.

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


More information about the buddypress-trac mailing list