- Timestamp:
- 03/05/2019 05:49:00 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-site-icon-control.php
r41162 r44796 48 48 public function content_template() { 49 49 ?> 50 <label for="{{ data.settings['default'] }}-button"> 51 <# if ( data.label ) { #> 52 <span class="customize-control-title">{{ data.label }}</span> 53 <# } #> 54 <# if ( data.description ) { #> 55 <span class="description customize-control-description">{{{ data.description }}}</span> 56 <# } #> 57 </label> 50 <# if ( data.label ) { #> 51 <span class="customize-control-title">{{ data.label }}</span> 52 <# } #> 53 <# if ( data.description ) { #> 54 <span class="description customize-control-description">{{{ data.description }}}</span> 55 <# } #> 58 56 59 57 <# if ( data.attachment && data.attachment.id ) { #> … … 75 73 <# if ( data.canUpload ) { #> 76 74 <button type="button" class="button remove-button"><?php echo $this->button_labels['remove']; ?></button> 77 <button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['change']; ?></button>75 <button type="button" class="button upload-button"><?php echo $this->button_labels['change']; ?></button> 78 76 <# } #> 79 77 </div> … … 81 79 <# } else { #> 82 80 <div class="attachment-media-view"> 83 < div class="placeholder">84 < ?php echo $this->button_labels['placeholder']; ?>85 < /div>81 <# if ( data.canUpload ) { #> 82 <button type="button" class="upload-button button-add-media"><?php echo $this->button_labels['site_icon']; ?></button> 83 <# } #> 86 84 <div class="actions"> 87 85 <# if ( data.defaultAttachment ) { #> 88 86 <button type="button" class="button default-button"><?php echo $this->button_labels['default']; ?></button> 89 <# } #>90 <# if ( data.canUpload ) { #>91 <button type="button" class="button upload-button" id="{{ data.settings['default'] }}-button"><?php echo $this->button_labels['select']; ?></button>92 87 <# } #> 93 88 </div>
Note: See TracChangeset
for help on using the changeset viewer.