Media: move get_available_post_mime_types to wp-includes/post.php making it more generally available.

Address an issue since r44947 where calling `wp_enqueue_media` on the front-end would result in a PHP fatal.

Props david.binda.
Fixes #46795.

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


git-svn-id: http://core.svn.wordpress.org/trunk@45028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Adam Silverstein
2019-04-16 20:30:51 +00:00
parent 47ad9774e3
commit 8e9315f51e
3 changed files with 18 additions and 18 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2-beta3-45218';
$wp_version = '5.2-beta3-45219';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.