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:
parent
a649dd59b7
commit
a80351f7ed
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue