Skip to content

Commit

Permalink
Validate video and audio metadata.
Browse files Browse the repository at this point in the history
Built from https://develop.svn.wordpress.org/trunk@40148


git-svn-id: http://core.svn.wordpress.org/trunk@40087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
jeremyfelt committed Mar 6, 2017
1 parent 2282cd8 commit 28f838c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions wp-admin/includes/media.php
Expand Up @@ -3072,6 +3072,8 @@ function wp_read_video_metadata( $file ) {

wp_add_id3_tag_data( $metadata, $data );

$metadata = wp_kses_post_deep( $metadata );

return $metadata;
}

Expand Down Expand Up @@ -3117,6 +3119,8 @@ function wp_read_audio_metadata( $file ) {

wp_add_id3_tag_data( $metadata, $data );

$metadata = wp_kses_post_deep( $metadata );

return $metadata;
}

Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Expand Up @@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-40147';
$wp_version = '4.8-alpha-40148';

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

0 comments on commit 28f838c

Please sign in to comment.