Make WordPress Core

Changeset 33643


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.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/mediaelement/wp-mediaelement.css

    r32952 r33643  
    217217}
    218218
     219.wp-playlist-item-title:before {
     220    content: '“';
     221}
     222
     223.wp-playlist-item-title:after {
     224    content: '”';
     225}
     226
    219227.wp-playlist-item-album {
    220228    font-style: italic;
  • 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.