Customize: Remove use of reserved word `default` in Underscore template which breaks IE8.
Fixes regression introduced in r30712. Props adamsilverstein. Fixes #36793. git-svn-id: https://develop.svn.wordpress.org/trunk@37417 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fb1e009393
commit
d5bcff481f
|
@ -214,7 +214,7 @@ class WP_Customize_Media_Control extends WP_Customize_Control {
|
|||
</div>
|
||||
<div class="actions">
|
||||
<# if ( data.defaultAttachment ) { #>
|
||||
<button type="button" class="button default-button">{{ data.button_labels.default }}</button>
|
||||
<button type="button" class="button default-button">{{ data.button_labels['default'] }}</button>
|
||||
<# } #>
|
||||
<# if ( data.canUpload ) { #>
|
||||
<button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button">{{ data.button_labels.select }}</button>
|
||||
|
|
Loading…
Reference in New Issue