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:
parent
e3996719d3
commit
e24a96c734
|
@ -3072,6 +3072,8 @@ function wp_read_video_metadata( $file ) {
|
||||||
|
|
||||||
wp_add_id3_tag_data( $metadata, $data );
|
wp_add_id3_tag_data( $metadata, $data );
|
||||||
|
|
||||||
|
$metadata = wp_kses_post_deep( $metadata );
|
||||||
|
|
||||||
return $metadata;
|
return $metadata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3117,6 +3119,8 @@ function wp_read_audio_metadata( $file ) {
|
||||||
|
|
||||||
wp_add_id3_tag_data( $metadata, $data );
|
wp_add_id3_tag_data( $metadata, $data );
|
||||||
|
|
||||||
|
$metadata = wp_kses_post_deep( $metadata );
|
||||||
|
|
||||||
return $metadata;
|
return $metadata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue