From 5fb7c090debf2c71b949ffff17cd0f9b842c3802 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 4 Jul 2020 17:09:01 +0000 Subject: [PATCH] Media: Add `heic` extension to `wp_get_ext_types()`, for consistency with `wp_get_mime_types()`. Follow-up to [48288]. Props imath. Fixes #50557. See #42775. Built from https://develop.svn.wordpress.org/trunk@48296 git-svn-id: http://core.svn.wordpress.org/trunk@48065 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 5a2abd808c..a9ae5c93e6 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3166,7 +3166,7 @@ function wp_get_ext_types() { return apply_filters( 'ext2type', array( - 'image' => array( 'jpg', 'jpeg', 'jpe', 'gif', 'png', 'bmp', 'tif', 'tiff', 'ico' ), + 'image' => array( 'jpg', 'jpeg', 'jpe', 'gif', 'png', 'bmp', 'tif', 'tiff', 'ico', 'heic' ), 'audio' => array( 'aac', 'ac3', 'aif', 'aiff', 'flac', 'm3a', 'm4a', 'm4b', 'mka', 'mp1', 'mp2', 'mp3', 'ogg', 'oga', 'ram', 'wav', 'wma' ), 'video' => array( '3g2', '3gp', '3gpp', 'asf', 'avi', 'divx', 'dv', 'flv', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'mpv', 'ogm', 'ogv', 'qt', 'rm', 'vob', 'wmv' ), 'document' => array( 'doc', 'docx', 'docm', 'dotm', 'odt', 'pages', 'pdf', 'xps', 'oxps', 'rtf', 'wp', 'wpd', 'psd', 'xcf' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index c91379bccf..73b2b9d366 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48295'; +$wp_version = '5.5-alpha-48296'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.