Make WordPress Core

Changeset 26459


Ignore:
Timestamp:
11/29/2013 01:54:25 AM (11 years ago)
Author:
dd32
Message:

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

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/theme.css

    r26458 r26459  
    9494    float: none;
    9595    margin-left: 3px;
    96 }
    97 /* Delete theme crosses */
    98 .theme .delete-theme {
    99     display: none;
    100     margin-left: -18px;
    101     position: absolute;
    102         top: 0px;
    103         right: 0px;
    104     z-index: 5;
    105 }
    106 .theme .delete-theme:before {
    107     background: #222;
    108     border: 1px solid #dedede;
    109     border-width: 0 0 1px 1px;
    110     color: #fff;
    111     width: 36px;
    112     height: 36px;
    113     padding: 4px;
    114     content: '\f158';
    115     display: inline-block;
    116     font: normal 36px/1 'dashicons';
    117     opacity: 1;
    118     speak: none;
    119     -webkit-font-smoothing: antialiased;
    120 }
    121 .theme .delete-theme:hover:before {
    122     background: #d54e21;
    12396}
    12497
  • trunk/src/wp-admin/themes.php

    r26335 r26459  
    235235        <a class="theme-update"><?php _e( 'Update Available' ); ?></a>
    236236    <# } #>
    237 
    238     <# if ( ! data.active ) { #>
    239         <a href="{{{ data.actions.delete }}}" class="delete-theme"><?php _e( 'Delete' ); ?></a>
    240     <# } #>
    241237</script>
    242238
Note: See TracChangeset for help on using the changeset viewer.