wp/wp-includes/customize/class-wp-customize-header-image-control.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 21 48c4eec2b7e6
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
   131 
   131 
   132 			<button type="button" class="choice thumbnail"
   132 			<button type="button" class="choice thumbnail"
   133 				data-customize-image-value="{{{data.header.url}}}"
   133 				data-customize-image-value="{{{data.header.url}}}"
   134 				data-customize-header-image-data="{{JSON.stringify(data.header)}}">
   134 				data-customize-header-image-data="{{JSON.stringify(data.header)}}">
   135 				<span class="screen-reader-text"><?php _e( 'Set image' ); ?></span>
   135 				<span class="screen-reader-text"><?php _e( 'Set image' ); ?></span>
   136 				<img src="{{{data.header.thumbnail_url}}}" alt="{{{data.header.alt_text || data.header.description}}}">
   136 				<img src="{{{data.header.thumbnail_url}}}" alt="{{{data.header.alt_text || data.header.description}}}" />
   137 			</button>
   137 			</button>
   138 
   138 
   139 			<# if ( data.type === 'uploaded' ) { #>
   139 			<# if ( data.type === 'uploaded' ) { #>
   140 				<button type="button" class="dashicons dashicons-no close"><span class="screen-reader-text"><?php _e( 'Remove image' ); ?></span></button>
   140 				<button type="button" class="dashicons dashicons-no close"><span class="screen-reader-text"><?php _e( 'Remove image' ); ?></span></button>
   141 			<# } #>
   141 			<# } #>