Opened 12 years ago
Closed 12 years ago
#20786 closed defect (bug) (fixed)
Cache Race Window When Attaching Attachments to Posts
Reported by: | mdawaffe | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Cache API | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
In wp-admin/upload.php's 'attach' case, there's a cache race window.
I've never encountered a problem, but clean_attachment_cache()
should come after the update, not before.
See #11647.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Or maybe array_map( 'clean_attachment_cache', $attach )? :-)