mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 10:59:07 +01:00
Ensure that all a/v attribute names have a leading space when the tags are dynamically-generated via Underscore templates.
See #27016. Built from https://develop.svn.wordpress.org/trunk@27421 git-svn-id: http://core.svn.wordpress.org/trunk@27268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9aa05f8681
commit
f15e1bc1db
@ -761,8 +761,8 @@ function wp_print_media_templates() {
|
|||||||
<#
|
<#
|
||||||
if ( ! _.isUndefined( data.model.poster ) ) {
|
if ( ! _.isUndefined( data.model.poster ) ) {
|
||||||
#> poster="{{{ data.model.poster }}}"<#
|
#> poster="{{{ data.model.poster }}}"<#
|
||||||
} #>
|
}
|
||||||
preload="{{{ _.isUndefined( data.model.preload ) ? 'metadata' : data.model.preload }}}"
|
#> preload="{{{ _.isUndefined( data.model.preload ) ? 'metadata' : data.model.preload }}}"
|
||||||
<#
|
<#
|
||||||
if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
|
if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
|
||||||
#> autoplay<#
|
#> autoplay<#
|
||||||
@ -793,8 +793,8 @@ function wp_print_media_templates() {
|
|||||||
<#
|
<#
|
||||||
if ( ! _.isUndefined( data.model.poster ) ) {
|
if ( ! _.isUndefined( data.model.poster ) ) {
|
||||||
#> poster="{{{ data.model.poster }}}"<#
|
#> poster="{{{ data.model.poster }}}"<#
|
||||||
} #>
|
}
|
||||||
preload="{{{ _.isUndefined( data.model.preload ) ? 'metadata' : data.model.preload }}}"
|
#> preload="{{{ _.isUndefined( data.model.preload ) ? 'metadata' : data.model.preload }}}"
|
||||||
<#
|
<#
|
||||||
if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
|
if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
|
||||||
#> autoplay<#
|
#> autoplay<#
|
||||||
|
Loading…
Reference in New Issue
Block a user