Validate video and audio metadata.

git-svn-id: https://develop.svn.wordpress.org/trunk@40148 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
jeremyfelt 2017-03-06 08:00:06 +00:00
parent e3996719d3
commit e24a96c734
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}