mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Media: Remove core embedding support for WMV and WMA files since MediaElement.js has discontinued supporting them.
Plugins may continue to add embedding support for these file formats by re-adding them via the `wp_video_extensions` and `wp_audio_extensions` filters while also implementing fallback rendering routines via the `wp_video_shortcode_override` and `wp_audio_shortcode_override` filters. See #39994, #39995. Fixes #40819. Built from https://develop.svn.wordpress.org/trunk@40813 git-svn-id: http://core.svn.wordpress.org/trunk@40671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b5eeb88286
commit
3d9e57f534
@ -2159,9 +2159,9 @@ function wp_get_audio_extensions() {
|
||||
* @since 3.6.0
|
||||
*
|
||||
* @param array $extensions An array of support audio formats. Defaults are
|
||||
* 'mp3', 'ogg', 'wma', 'm4a', 'wav'.
|
||||
* 'mp3', 'ogg', 'm4a', 'wav'.
|
||||
*/
|
||||
return apply_filters( 'wp_audio_extensions', array( 'mp3', 'ogg', 'wma', 'm4a', 'wav' ) );
|
||||
return apply_filters( 'wp_audio_extensions', array( 'mp3', 'ogg', 'm4a', 'wav' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -2392,9 +2392,9 @@ function wp_get_video_extensions() {
|
||||
* @since 3.6.0
|
||||
*
|
||||
* @param array $extensions An array of support video formats. Defaults are
|
||||
* 'mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv'.
|
||||
* 'mp4', 'm4v', 'webm', 'ogv', 'flv'.
|
||||
*/
|
||||
return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv' ) );
|
||||
return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'flv' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-beta1-40812';
|
||||
$wp_version = '4.8-beta1-40813';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user