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. Built from https://develop.svn.wordpress.org/trunk@33643 git-svn-id: http://core.svn.wordpress.org/trunk@33610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
07c079cc86
commit
b19bb99853
|
@ -216,6 +216,14 @@ video.wp-video-shortcode,
|
|||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.wp-playlist-item-title:before {
|
||||
content: '“';
|
||||
}
|
||||
|
||||
.wp-playlist-item-title:after {
|
||||
content: '”';
|
||||
}
|
||||
|
||||
.wp-playlist-item-album {
|
||||
font-style: italic;
|
||||
overflow: hidden;
|
||||
|
|
|
@ -1166,7 +1166,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>
|
||||
|
@ -1178,7 +1178,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>
|
||||
<# } #>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-33642';
|
||||
$wp_version = '4.4-alpha-33643';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue