#21614 closed defect (bug) (duplicate)
wp_mime_type_icon PHP notice fixes
| Reported by: | sc0ttkclark | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Warnings/Notices | Version: | 3.4.1 |
| Severity: | trivial | Keywords: | |
| Cc: | Focuses: |
Description
wp_mime_type_icon ends up sending to the 'wp_mime_type_icon' filter: $icon, $mime, and $post_id
Based on the PHP, it's set in such a way that PHP notices could be generated for variables don't exist.
I've attached my patch that should resolve those potential notices.
Attachments (1)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Oops, missed it by one number, pretend my patch was really 21614.patch :)