Make WordPress Core


Ignore:
Timestamp:
08/19/2015 05:50:23 AM (9 years ago)
Author:
wonderboymusic
Message:

Playlists, for .wp-playlist-item-title elements: move the curly quotes to CSS pseudo-element content, making them easier to override or remove.

Fixes #33391.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r33489 r33643  
    11671167    <# } #>
    11681168    <div class="wp-playlist-caption">
    1169         <span class="wp-playlist-item-meta wp-playlist-item-title">&#8220;{{ data.title }}&#8221;</span>
     1169        <span class="wp-playlist-item-meta wp-playlist-item-title">{{ data.title }}</span>
    11701170        <# if ( data.meta.album ) { #><span class="wp-playlist-item-meta wp-playlist-item-album">{{ data.meta.album }}</span><# } #>
    11711171        <# if ( data.meta.artist ) { #><span class="wp-playlist-item-meta wp-playlist-item-artist">{{ data.meta.artist }}</span><# } #>
     
    11791179                {{ data.caption }}
    11801180            <# } else { #>
    1181                 <span class="wp-playlist-item-title">&#8220;{{{ data.title }}}&#8221;</span>
     1181                <span class="wp-playlist-item-title">{{{ data.title }}}</span>
    11821182                <# if ( data.artists && data.meta.artist ) { #>
    11831183                <span class="wp-playlist-item-artist"> &mdash; {{ data.meta.artist }}</span>
Note: See TracChangeset for help on using the changeset viewer.