Skip to content

Commit 28f838c

Browse files
committed
Validate video and audio metadata.
Built from https://develop.svn.wordpress.org/trunk@40148 git-svn-id: http://core.svn.wordpress.org/trunk@40087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 2282cd8 commit 28f838c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: wp-admin/includes/media.php

+4
Original file line numberDiff line numberDiff line change
@@ -3072,6 +3072,8 @@ function wp_read_video_metadata( $file ) {
30723072

30733073
wp_add_id3_tag_data( $metadata, $data );
30743074

3075+
$metadata = wp_kses_post_deep( $metadata );
3076+
30753077
return $metadata;
30763078
}
30773079

@@ -3117,6 +3119,8 @@ function wp_read_audio_metadata( $file ) {
31173119

31183120
wp_add_id3_tag_data( $metadata, $data );
31193121

3122+
$metadata = wp_kses_post_deep( $metadata );
3123+
31203124
return $metadata;
31213125
}
31223126

Diff for: wp-includes/version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @global string $wp_version
66
*/
7-
$wp_version = '4.8-alpha-40147';
7+
$wp_version = '4.8-alpha-40148';
88

99
/**
1010
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)