mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Validate video and audio metadata.
Built from https://develop.svn.wordpress.org/trunk@40148 git-svn-id: http://core.svn.wordpress.org/trunk@40087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2282cd8cf1
commit
28f838ca3e
@ -3072,6 +3072,8 @@ function wp_read_video_metadata( $file ) {
|
||||
|
||||
wp_add_id3_tag_data( $metadata, $data );
|
||||
|
||||
$metadata = wp_kses_post_deep( $metadata );
|
||||
|
||||
return $metadata;
|
||||
}
|
||||
|
||||
@ -3117,6 +3119,8 @@ function wp_read_audio_metadata( $file ) {
|
||||
|
||||
wp_add_id3_tag_data( $metadata, $data );
|
||||
|
||||
$metadata = wp_kses_post_deep( $metadata );
|
||||
|
||||
return $metadata;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-40147';
|
||||
$wp_version = '4.8-alpha-40148';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user