Validate video and audio metadata.

Merge of [40148] to the 4.4 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@40152 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2017-03-06 08:06:56 +00:00
parent 91ff389683
commit f1a6970d09

View File

@ -3028,6 +3028,8 @@ function wp_read_video_metadata( $file ) {
wp_add_id3_tag_data( $metadata, $data );
$metadata = wp_kses_post_deep( $metadata );
return $metadata;
}
@ -3073,6 +3075,8 @@ function wp_read_audio_metadata( $file ) {
wp_add_id3_tag_data( $metadata, $data );
$metadata = wp_kses_post_deep( $metadata );
return $metadata;
}