Icons for select, deselect, and window close in the media modal.

Props JerrySarcastic, helenyhou, ocean90, lessbloat
fixes #22610


git-svn-id: http://core.svn.wordpress.org/trunk@22920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren
2012-11-29 14:36:12 +00:00
parent 7188bff165
commit ce2c38fda6
3 changed files with 53 additions and 50 deletions

View File

@@ -1507,7 +1507,7 @@ function wp_print_media_templates() {
<script type="text/html" id="tmpl-media-modal">
<div class="media-modal">
<h3 class="media-modal-title">{{ data.title }}</h3>
<a class="media-modal-close" href="" title="<?php esc_attr_e('Close'); ?>">&times;</a>
<a class="media-modal-close media-modal-icon" href="#" title="<?php esc_attr_e('Close'); ?>"></a>
</div>
<div class="media-modal-backdrop">
<div></div>
@@ -1620,11 +1620,11 @@ function wp_print_media_templates() {
<# } #>
<# if ( data.buttons.close ) { #>
<a class="close button" href="#">&times;</a>
<a class="close media-modal-icon" href="#" title="<?php _e('Remove'); ?>"></a>
<# } #>
<# if ( data.buttons.check ) { #>
<a class="check" href="#"><span>&#10003;</span><span class="dash">&ndash;</span></a>
<a class="check" href="#" title="<?php _e('Deselect'); ?>"><div class="media-modal-icon"></div></a>
<# } #>
</div>
<# if ( data.describe ) { #>