Opened 17 years ago
Closed 16 years ago
#11580 closed defect (bug) (fixed)
recent posts widget isn't getting memcached
| Reported by: | Denis-de-Bernardy | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Cache API | Version: | 2.9 |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.