[wp-trac] [WordPress Trac] #45707: Add parameter $real_mime to wp_check_filetype_and_ext
WordPress Trac
noreply at wordpress.org
Mon Jan 21 21:51:34 UTC 2019
#45707: Add parameter $real_mime to wp_check_filetype_and_ext
------------------------------+---------------------
Reporter: Tkama | Owner: pento
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.1
Component: Upload | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+---------------------
Changes (by pento):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"44677" 44677]:
{{{
#!CommitTicketReference repository="" revision="44677"
Media: Add a `$real_mime` parameter to the `wp_check_filetype_and_ext`
filter.
This allows more accurate filtering of the filename and extension given to
uploaded files.
Props desrosj, Tkama.
Fixes #45707.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45707#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list