mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-26 00:45:23 +00:00
Validate video and audio metadata.
Merge of [40148] to the 4.3 branch. Built from https://develop.svn.wordpress.org/branches/4.3@40153 git-svn-id: http://core.svn.wordpress.org/branches/4.3@40092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d9d2157746
commit
cddad9e7ee
@ -3007,6 +3007,8 @@ function wp_read_video_metadata( $file ) {
|
||||
|
||||
wp_add_id3_tag_data( $metadata, $data );
|
||||
|
||||
$metadata = wp_kses_post_deep( $metadata );
|
||||
|
||||
return $metadata;
|
||||
}
|
||||
|
||||
@ -3046,6 +3048,8 @@ function wp_read_audio_metadata( $file ) {
|
||||
|
||||
wp_add_id3_tag_data( $metadata, $data );
|
||||
|
||||
$metadata = wp_kses_post_deep( $metadata );
|
||||
|
||||
return $metadata;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user