]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-customize-control.php
WordPress 4.1.1-scripts
[autoinstalls/wordpress.git] / wp-includes / class-wp-customize-control.php
index 3c8a8bd9ce3d2abe64587c9a57bc53a1229e8cd8..950b0d5a344fffdb65fbd477d74c4b47519f203c 100644 (file)
@@ -738,7 +738,7 @@ class WP_Customize_Upload_Control extends WP_Customize_Control {
         */
        public function content_template() {
                ?>
-               <label for="{{ data.settings.default }}-button">
+               <label for="{{ data.settings['default'] }}-button">
                        <# if ( data.label ) { #>
                                <span class="customize-control-title">{{ data.label }}</span>
                        <# } #>
@@ -775,7 +775,7 @@ class WP_Customize_Upload_Control extends WP_Customize_Control {
                        </div>
                        <div class="actions">
                                <button type="button" class="button remove-button"><?php echo $this->button_labels['remove']; ?></button>
-                               <button type="button" class="button upload-button" id="{{ data.settings.default }}-button"><?php echo $this->button_labels['change']; ?></button>
+                               <button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['change']; ?></button>
                                <div style="clear:both"></div>
                        </div>
                <# } else { #>
@@ -794,7 +794,7 @@ class WP_Customize_Upload_Control extends WP_Customize_Control {
                                <# if ( data.defaultAttachment ) { #>
                                        <button type="button" class="button default-button"><?php echo $this->button_labels['default']; ?></button>
                                <# } #>
-                               <button type="button" class="button upload-button" id="{{ data.settings.default }}-button"><?php echo $this->button_labels['select']; ?></button>
+                               <button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['select']; ?></button>
                                <div style="clear:both"></div>
                        </div>
                <# } #>