Don't use a JS reserved word in a Backbone template, this breaks IE8.
props ocean90. fixes #26539. git-svn-id: https://develop.svn.wordpress.org/trunk@26853 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
18dbb16a33
commit
ff215b1af8
@ -360,8 +360,8 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
|||||||
<a href="{{{ data.actions.preview }}}" class="button button-secondary hide-if-customize"><?php _e( 'Preview' ); ?></a>
|
<a href="{{{ data.actions.preview }}}" class="button button-secondary hide-if-customize"><?php _e( 'Preview' ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<# if ( ! data.active && data.actions.delete ) { #>
|
<# if ( ! data.active && data.actions['delete'] ) { #>
|
||||||
<a href="{{{ data.actions.delete }}}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a>
|
<a href="{{{ data.actions['delete'] }}}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a>
|
||||||
<# } #>
|
<# } #>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user