#21835 closed defect (bug) (fixed)
wp_mime_type_icon() does wp_cache_set() when it should do wp_cache_add()
| Reported by: | nacin | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Really no reason for it to try an unconditional set, as it is only run when the get failed.
Additionally, $post_id is not set when passed to the filter if the get succeeds, as noted by koopersmith.
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 [21782]: