wp/wp-includes/customize/class-wp-customize-site-icon-control.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 21 48c4eec2b7e6
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    64 					<div class="site-icon-preview wp-clearfix">
    64 					<div class="site-icon-preview wp-clearfix">
    65 						<div class="favicon-preview">
    65 						<div class="favicon-preview">
    66 							<img src="<?php echo esc_url( admin_url( 'images/' . ( is_rtl() ? 'browser-rtl.png' : 'browser.png' ) ) ); ?>" class="browser-preview" width="182" alt="" />
    66 							<img src="<?php echo esc_url( admin_url( 'images/' . ( is_rtl() ? 'browser-rtl.png' : 'browser.png' ) ) ); ?>" class="browser-preview" width="182" alt="" />
    67 
    67 
    68 							<div class="favicon">
    68 							<div class="favicon">
    69 								<img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/>
    69 								<img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>" />
    70 							</div>
    70 							</div>
    71 							<span class="browser-title" aria-hidden="true"><# print( '<?php bloginfo( 'name' ); ?>' ) #></span>
    71 							<span class="browser-title" aria-hidden="true"><# print( '<?php bloginfo( 'name' ); ?>' ) #></span>
    72 						</div>
    72 						</div>
    73 						<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' ); ?>"/>
    73 						<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' ); ?>" />
    74 					</div>
    74 					</div>
    75 				<# } #>
    75 				<# } #>
    76 				<div class="actions">
    76 				<div class="actions">
    77 					<# if ( data.canUpload ) { #>
    77 					<# if ( data.canUpload ) { #>
    78 						<button type="button" class="button remove-button"><?php echo $this->button_labels['remove']; ?></button>
    78 						<button type="button" class="button remove-button"><?php echo $this->button_labels['remove']; ?></button>