Skip to:

Opened 13 years ago

Closed 13 years ago

#3803 closed enhancement (fixed)

groups_get_groupmeta() should be smarter about testing for existing cached data

Reported by: boonebgorges's profile boonebgorges Owned by: boonebgorges's profile boonebgorges
Milestone: 1.6 Priority: normal
Severity: major Version: 1.5.1
Component: Groups 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.)

Change History (1)

#1 @boonebgorges
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5454]) Be smarter about checking for verified empty groupmeta items in the WP cache, in groups_get_groupmeta(). Fixes #3803

Note: See TracTickets for help on using tickets.