Opened 12 months ago
Closed 9 months ago
#20786 closed defect (bug) (fixed)
Cache Race Window When Attaching Attachments to Posts
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Cache | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| 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)
Change History (5)
Note: See
TracTickets for help on using
tickets.

Or maybe array_map( 'clean_attachment_cache', $attach )? :-)