Themes: Remove an unused Delete Theme link on the multiple view. See #25948

Built from https://develop.svn.wordpress.org/trunk@26459


git-svn-id: http://core.svn.wordpress.org/trunk@26357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2013-11-29 01:55:10 +00:00
parent bdb9112f28
commit 72166b14ad
4 changed files with 1 additions and 59 deletions

View File

@ -94,33 +94,6 @@
float: none;
margin-right: 3px;
}
/* Delete theme crosses */
.theme .delete-theme {
display: none;
margin-right: -18px;
position: absolute;
top: 0px;
left: 0px;
z-index: 5;
}
.theme .delete-theme:before {
background: #222;
border: 1px solid #dedede;
border-width: 0 1px 1px 0;
color: #fff;
width: 36px;
height: 36px;
padding: 4px;
content: '\f158';
display: inline-block;
font: normal 36px/1 'dashicons';
opacity: 1;
speak: none;
-webkit-font-smoothing: antialiased;
}
.theme .delete-theme:hover:before {
background: #d54e21;
}
/*
* Theme Screenshot

File diff suppressed because one or more lines are too long

View File

@ -94,33 +94,6 @@
float: none;
margin-left: 3px;
}
/* Delete theme crosses */
.theme .delete-theme {
display: none;
margin-left: -18px;
position: absolute;
top: 0px;
right: 0px;
z-index: 5;
}
.theme .delete-theme:before {
background: #222;
border: 1px solid #dedede;
border-width: 0 0 1px 1px;
color: #fff;
width: 36px;
height: 36px;
padding: 4px;
content: '\f158';
display: inline-block;
font: normal 36px/1 'dashicons';
opacity: 1;
speak: none;
-webkit-font-smoothing: antialiased;
}
.theme .delete-theme:hover:before {
background: #d54e21;
}
/*
* Theme Screenshot

View File

@ -234,10 +234,6 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
<# if ( data.hasUpdate ) { #>
<a class="theme-update"><?php _e( 'Update Available' ); ?></a>
<# } #>
<# if ( ! data.active ) { #>
<a href="{{{ data.actions.delete }}}" class="delete-theme"><?php _e( 'Delete' ); ?></a>
<# } #>
</script>
<script id="tmpl-theme-single" type="text/template">