mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
Themes: Remove an unused Delete Theme link on the multiple view. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26459 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d6703f1776
commit
23f2fbc433
@ -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
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user