Opened 3 years ago
Closed 3 years ago
#11580 closed defect (bug) (fixed)
recent posts widget isn't getting memcached
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Cache | Version: | 2.9 |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| Cc: |
Description (last modified by Denis-de-Bernardy)
the recent posts widget, and possibly a few others, uses wp_cache_add() instead of wp_cache_set(). when several widgets exist and are loaded, this results in the second one not getting cached.
Attachments (1)
Change History (9)
Denis-de-Bernardy — 3 years ago
- Keywords has-patch added
- Description modified (diff)
- Milestone changed from 2.9.1 to 3.0
This is way out of scope for a maintenance release, IMO.
suggesting 2.9.1, myself. the only possible side effect is that memcached users get a faster site.
Note: See
TracTickets for help on using
tickets.

the patch corrects the same issue with the wp_get_archives cache: when subsequent calls are done, they do not replace the cache stored in memcached, because the add() method gets used instead of the set() method.