diff --git a/wp-includes/media.php b/wp-includes/media.php index fe09a947ae..7feccd00c3 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1020,7 +1020,7 @@ function wp_underscore_playlist_templates() { <# } #>
- “{{{ data.title }}}” + “{{ data.title }}” <# if ( data.meta.album ) { #>{{ data.meta.album }}<# } #> <# if ( data.meta.artist ) { #>{{ data.meta.artist }}<# } #>
@@ -1194,9 +1194,9 @@ function wp_playlist_shortcode( $attr ) { $track = array( 'src' => $url, 'type' => $ftype['type'], - 'title' => get_the_title( $attachment->ID ), - 'caption' => wptexturize( $attachment->post_excerpt ), - 'description' => wptexturize( $attachment->post_content ) + 'title' => $attachment->post_title, + 'caption' => $attachment->post_excerpt, + 'description' => $attachment->post_content ); $track['meta'] = array();