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. Built from https://develop.svn.wordpress.org/trunk@27960 git-svn-id: http://core.svn.wordpress.org/trunk@27790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c5127a9232
commit
3238664215
|
@ -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