Validate video and audio metadata.
Merge of [40148] to the 4.1 branch. Built from https://develop.svn.wordpress.org/branches/4.1@40155 git-svn-id: http://core.svn.wordpress.org/branches/4.1@40094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c0abe8d804
commit
2702705876
|
@ -2977,6 +2977,8 @@ function wp_read_video_metadata( $file ) {
|
|||
|
||||
wp_add_id3_tag_data( $metadata, $data );
|
||||
|
||||
$metadata = wp_kses_post_deep( $metadata );
|
||||
|
||||
return $metadata;
|
||||
}
|
||||
|
||||
|
@ -3016,5 +3018,7 @@ function wp_read_audio_metadata( $file ) {
|
|||
|
||||
wp_add_id3_tag_data( $metadata, $data );
|
||||
|
||||
$metadata = wp_kses_post_deep( $metadata );
|
||||
|
||||
return $metadata;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue