[buddypress-trac] [BuddyPress Trac] #7477: BP_Groups_Group::group_exists() should be cached.

buddypress-trac noreply at wordpress.org
Wed Mar 22 21:02:39 UTC 2017


#7477: BP_Groups_Group::group_exists() should be cached.
-------------------------+------------------------------------
 Reporter:  dcavins      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  2.9
Component:  Groups       |    Version:  2.8.2
 Severity:  normal       |   Keywords:  has-patch dev-feedback
-------------------------+------------------------------------
 In working to add support for finding groups by old slugs, I'm using
 `BP_Groups_Group::group_exists()` more than once per page load, and that's
 causing duplicate queries. It seems straightforward to use some of our
 incremented caching here.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7477>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list