WordPress.org

Make WordPress Core

Changeset 37417


Ignore:
Timestamp:
05/11/2016 07:07:01 PM (4 years ago)
Author:
westonruter
Message:

Customize: Remove use of reserved word default in Underscore template which breaks IE8.

Fixes regression introduced in r30712.

Props adamsilverstein.
Fixes #36793.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-media-control.php

    r37152 r37417  
    215215            <div class="actions">
    216216                <# if ( data.defaultAttachment ) { #>
    217                     <button type="button" class="button default-button">{{ data.button_labels.default }}</button>
     217                    <button type="button" class="button default-button">{{ data.button_labels['default'] }}</button>
    218218                <# } #>
    219219                <# if ( data.canUpload ) { #>
Note: See TracChangeset for help on using the changeset viewer.