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.


Built from https://develop.svn.wordpress.org/trunk@44677


git-svn-id: http://core.svn.wordpress.org/trunk@44508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast
2019-01-21 21:52:50 +00:00
parent 7d9f962521
commit d289b00dc6
2 changed files with 10 additions and 8 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-beta1-44676';
$wp_version = '5.1-beta1-44677';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.