File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -131,10 +131,10 @@ public function print_header_image_template() {
131131 <# } else { #>
132132
133133 <button type="button" class="choice thumbnail"
134- data-customize-image-value="{{{ data.header.url} }}"
134+ data-customize-image-value="{{data.header.url}}"
135135 data-customize-header-image-data="{{JSON.stringify(data.header)}}">
136136 <span class="screen-reader-text"><?php _e ( 'Set image ' ); ?> </span>
137- <img src="{{{ data.header.thumbnail_url}}} " alt="{{{ data.header.alt_text || data.header.description} }}" />
137+ <img src="{{data.header.thumbnail_url}}" alt="{{data.header.alt_text || data.header.description}}" />
138138 </button>
139139
140140 <# if ( data.type === 'uploaded' ) { #>
@@ -159,7 +159,7 @@ public function print_header_image_template() {
159159
160160 <# } else { #>
161161
162- <img src="{{{ data.header.thumbnail_url}}} " alt="{{{ data.header.alt_text || data.header.description} }}" />
162+ <img src="{{data.header.thumbnail_url}}" alt="{{data.header.alt_text || data.header.description}}" />
163163
164164 <# } #>
165165 <# } else { #>
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function content_template() {
6868 <div class="favicon">
6969 <img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e ( 'Preview as a browser icon ' ); ?> " />
7070 </div>
71- <span class="browser-title" aria-hidden="true"><# print( '<?php bloginfo ( 'name ' ); ?> ' ) #></span>
71+ <span class="browser-title" aria-hidden="true"><# print( '<?php echo esc_js ( get_bloginfo ( 'name ' ) ); ?> ' ) #></span>
7272 </div>
7373 <img class="app-icon-preview" src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e ( 'Preview as an app icon ' ); ?> " />
7474 </div>
Original file line number Diff line number Diff line change @@ -1497,7 +1497,7 @@ function wp_print_media_templates() {
14971497 <div class="favicon">
14981498 <img id="preview-favicon" src="{{ data.url }}" alt="<?php esc_attr_e ( 'Preview as a browser icon ' ); ?> " />
14991499 </div>
1500- <span class="browser-title" aria-hidden="true"><# print( '<?php bloginfo ( 'name ' ); ?> ' ) #></span>
1500+ <span class="browser-title" aria-hidden="true"><# print( '<?php echo esc_js ( get_bloginfo ( 'name ' ) ); ?> ' ) #></span>
15011501 </div>
15021502
15031503 <strong aria-hidden="true"><?php _e ( 'As an app icon ' ); ?> </strong>
You can’t perform that action at this time.
0 commit comments