Opened 19 years ago
Closed 19 years ago
#3562 closed defect (bug) (fixed)
Some cache adds should be sets
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.1 | Priority: | high |
| Severity: | minor | Version: | 2.0 |
| Component: | General | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
When the data is fresh from the db or another authoritative source, the cache operation should be SET, not ADD.
With ADD you run the risk of innacurate data taking precedence. This has caused nasty issues with plugins on wordpress.com.
Patch attached.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [4722]) Use cache sets instead of adds. Props andy. fixes #3562