Opened 20 years ago
Closed 20 years ago
#3562 closed defect (bug) (fixed)
Some cache adds should be sets
| Reported by: | andy | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 2.1 |
| Component: | General | Version: | 2.0 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [4722]) Use cache sets instead of adds. Props andy. fixes #3562