#21835 closed defect (bug) (fixed)
wp_mime_type_icon() does wp_cache_set() when it should do wp_cache_add()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | |
Focuses: | Cc: |
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.
In [21782]: