WordPress.org

Make WordPress Core

Ticket #26631: 26631.13.diff

File 26631.13.diff, 554 bytes (added by bassgang, 7 years ago)
  • src/wp-includes/media.php

    diff --git src/wp-includes/media.php src/wp-includes/media.php
    index 62c124a..40f5969 100644
    function wp_get_playlist( $attr, $type ) { 
    11311131                <span class="wp-caption-meta wp-caption-artist">{{{ data.meta.artist }}}</span>
    11321132        </div>
    11331133        <# } else { #>
    1134         <div class="wp-playlist-caption">{{{ data.caption }}}</div>
     1134        <div class="wp-playlist-caption">{{{ data.caption ? data.caption : data.title }}}</div>
    11351135        <# } #>
    11361136</script>
    11371137<script type="text/html" id="tmpl-wp-playlist-item">