Revert the changes made to data.title
in playlist Underscore templates in [27869]. {{ data.title }}
causes the title to be double-encoded on the front end.
See #27574. git-svn-id: https://develop.svn.wordpress.org/trunk@27960 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5863d7874d
commit
1ff1343a82
@ -1020,7 +1020,7 @@ function wp_underscore_playlist_templates() {
|
||||
<img src="{{ data.thumb.src }}"/>
|
||||
<# } #>
|
||||
<div class="wp-playlist-caption">
|
||||
<span class="wp-playlist-item-meta wp-playlist-item-title">“{{ data.title }}”</span>
|
||||
<span class="wp-playlist-item-meta wp-playlist-item-title">“{{{ data.title }}}”</span>
|
||||
<# if ( data.meta.album ) { #><span class="wp-playlist-item-meta wp-playlist-item-album">{{ data.meta.album }}</span><# } #>
|
||||
<# if ( data.meta.artist ) { #><span class="wp-playlist-item-meta wp-playlist-item-artist">{{ data.meta.artist }}</span><# } #>
|
||||
</div>
|
||||
@ -1032,7 +1032,7 @@ function wp_underscore_playlist_templates() {
|
||||
<# if ( data.caption ) { #>
|
||||
{{ data.caption }}
|
||||
<# } else { #>
|
||||
<span class="wp-playlist-item-title">“{{ data.title }}”</span>
|
||||
<span class="wp-playlist-item-title">“{{{ data.title }}}”</span>
|
||||
<# if ( data.artists && data.meta.artist ) { #>
|
||||
<span class="wp-playlist-item-artist"> — {{ data.meta.artist }}</span>
|
||||
<# } #>
|
||||
|
Loading…
Reference in New Issue
Block a user