[buddypress-trac] [BuddyPress Trac] #7477: BP_Groups_Group::group_exists() should be cached.
buddypress-trac
noreply at wordpress.org
Mon Apr 3 17:30:00 UTC 2017
#7477: BP_Groups_Group::group_exists() should be cached.
-------------------------+-----------------------
Reporter: dcavins | Owner: dcavins
Type: enhancement | Status: accepted
Priority: normal | Milestone: 2.9
Component: Groups | Version: 2.8.2
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------
Comment (by r-a-y):
I'd go with `array_map()` if we want to avoid the `$wpdb->prepare()` call,
which will waste a few more CPU cycles.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7477#comment:12>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list