Opened 16 years ago
Closed 16 years ago
#11580 closed defect (bug) (fixed)
recent posts widget isn't getting memcached
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | 2.9 |
| Component: | Cache API | Keywords: | has-patch dev-feedback |
| Focuses: | Cc: |
Description (last modified by )
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)
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.