Validate video and audio metadata.

merge of [40148] to the 4.7 branch

Built from https://develop.svn.wordpress.org/branches/4.7@40149


git-svn-id: http://core.svn.wordpress.org/branches/4.7@40088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2017-03-06 08:03:35 +00:00
parent a649dd59b7
commit a80351f7ed
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7.3-RC1-40141'; $wp_version = '4.7.3-RC1-40149';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.