Opened 15 years ago
Closed 15 years ago
#3803 closed enhancement (fixed)
groups_get_groupmeta() should be smarter about testing for existing cached data
| Reported by: | boonebgorges | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6 |
| Component: | Groups | Version: | 1.5.1 |
| Severity: | major | Keywords: | |
| Cc: |
Description
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.)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [5454]) Be smarter about checking for verified empty groupmeta items in the WP cache, in groups_get_groupmeta(). Fixes #3803