mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-playlist-item-title:before {
|
||||||
|
content: '“';
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-playlist-item-title:after {
|
||||||
|
content: '”';
|
||||||
|
}
|
||||||
|
|
||||||
.wp-playlist-item-album {
|
.wp-playlist-item-album {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -1166,7 +1166,7 @@ function wp_underscore_playlist_templates() {
|
|||||||
<img src="{{ data.thumb.src }}"/>
|
<img src="{{ data.thumb.src }}"/>
|
||||||
<# } #>
|
<# } #>
|
||||||
<div class="wp-playlist-caption">
|
<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.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><# } #>
|
<# if ( data.meta.artist ) { #><span class="wp-playlist-item-meta wp-playlist-item-artist">{{ data.meta.artist }}</span><# } #>
|
||||||
</div>
|
</div>
|
||||||
@ -1178,7 +1178,7 @@ function wp_underscore_playlist_templates() {
|
|||||||
<# if ( data.caption ) { #>
|
<# if ( data.caption ) { #>
|
||||||
{{ data.caption }}
|
{{ data.caption }}
|
||||||
<# } else { #>
|
<# } 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 ) { #>
|
<# if ( data.artists && data.meta.artist ) { #>
|
||||||
<span class="wp-playlist-item-artist"> — {{ data.meta.artist }}</span>
|
<span class="wp-playlist-item-artist"> — {{ data.meta.artist }}</span>
|
||||||
<# } #>
|
<# } #>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user