Ticket #50865: 50865.2.patch
File 50865.2.patch, 1.6 KB (added by , 2 years ago) |
---|
-
src/wp-includes/media.php
2632 2632 <# } #> 2633 2633 <div class="wp-playlist-caption"> 2634 2634 <span class="wp-playlist-item-meta wp-playlist-item-title"> 2635 <?php 2636 /* translators: %s: Playlist item title. */ 2637 printf( _x( '“%s”', 'playlist item title' ), '{{ data.title }}' ); 2638 ?> 2635 <# if ( data.meta.album || data.meta.artist ) { #> 2636 <?php 2637 /* translators: %s: Playlist item title. */ 2638 printf( _x( '“%s”', 'playlist item title' ), '{{ data.title }}' ); 2639 ?> 2640 <# } else { #> 2641 {{ data.title }} 2642 <# } #> 2639 2643 </span> 2640 2644 <# if ( data.meta.album ) { #><span class="wp-playlist-item-meta wp-playlist-item-album">{{ data.meta.album }}</span><# } #> 2641 2645 <# if ( data.meta.artist ) { #><span class="wp-playlist-item-meta wp-playlist-item-artist">{{ data.meta.artist }}</span><# } #> … … 2648 2652 <# if ( data.caption ) { #> 2649 2653 {{ data.caption }} 2650 2654 <# } else { #> 2655 <# if ( data.artists && data.meta.artist ) { #> 2651 2656 <span class="wp-playlist-item-title"> 2652 2657 <?php 2653 2658 /* translators: %s: Playlist item title. */ … … 2654 2659 printf( _x( '“%s”', 'playlist item title' ), '{{{ data.title }}}' ); 2655 2660 ?> 2656 2661 </span> 2657 <# if ( data.artists && data.meta.artist ) { #>2658 2662 <span class="wp-playlist-item-artist"> — {{ data.meta.artist }}</span> 2663 <# } else { #> 2664 <span class="wp-playlist-item-title">{{{ data.title }}}</span> 2659 2665 <# } #> 2660 2666 <# } #> 2661 2667 </a>