WordPress.org

Make WordPress Core

Changeset 37450


Ignore:
Timestamp:
05/17/2016 08:28:19 PM (4 years ago)
Author:
ocean90
Message:

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

Fixes regression introduced in [36769].

Merge of [37417] to the 4.5 branch.

Props adamsilverstein.
Fixes #36793.

Location:
branches/4.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.5

  • branches/4.5/src/wp-includes/customize/class-wp-customize-media-control.php

    r37152 r37450  
    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.