diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index 7ed11c66e3..a026f22cc2 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -328,7 +328,7 @@ function wp_print_media_templates() {
{{ data.fileLength }}
<# } #> - <# if ( 'audio' === data.type && data.meta.bitrate ) { #> + <# if ( 'audio' === data.type && data.meta && data.meta.bitrate ) { #>
{{ Math.round( data.meta.bitrate / 1000 ) }}kb/s <# if ( data.meta.bitrate_mode ) { #>