[buddypress-trac] [BuddyPress] #3803: groups_get_groupmeta() should be smarter about testing for existing cached data
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Wed Dec 7 01:38:32 UTC 2011
#3803: groups_get_groupmeta() should be smarter about testing for existing cached
data
--------------------------+--------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: enhancement | Status: new
Priority: normal | Milestone: 1.6
Component: Groups | Version: 1.5.1
Severity: major | Keywords:
--------------------------+--------------------------
When you use groups_get_groupmeta() for a meta value that does not exist,
an empty value gets cached via wp_cache_set(). But because of some faulty
typing, we end up continuing to query for this value over and over again
in the same page load. groups_get_groupmeta() should know the difference
between an uncached meta value and a cached value that happens to be
empty. (Saves dozens of queries per page load, when using a couple group
plugins.)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3803>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list