WordPress.org

Make WordPress Core

Ticket #21483: 21483.9.diff

File 21483.9.diff, 735 bytes (added by celloexpressions, 6 years ago)

fix backwards conditional

  • src/wp-includes/class-wp-customize-control.php

     
    795795                <# } else { #>
    796796                        <p class="placeholder-text"><?php echo $this->button_labels['placeholder']; ?></p>
    797797                        <a class="button upload-button" id="{{ data.settings.default }}-button" href="#"><?php echo $this->button_labels['select']; ?></a>
    798                         <# if ( ! data.defaultAttachment ) { #>
     798                        <# if ( data.defaultAttachment ) { #>
    799799                                <a class="default-button remove-button" href="#"><?php echo $this->button_labels['default']; ?></a>
    800800                        <# } #>
    801801                <# } #>