Make WordPress Core

Ticket #29897: 29897.patch

File 29897.patch, 1.2 KB (added by iseulde, 11 years ago)
  • src/wp-admin/css/themes.css

     
    300300        border: none;
    301301        -webkit-box-shadow: none;
    302302        box-shadow: none;
    303 }
    304 
    305 .theme-browser .theme.add-new-theme a {
    306303        color: #999;
    307         text-decoration: none;
    308304        display: block;
    309         position: relative;
    310         z-index: 1;
     305        text-decoration: none;
    311306}
    312307
    313308.theme-browser .theme.add-new-theme:after {
  • src/wp-admin/js/theme.js

     
    962962
    963963                // 'Add new theme' element shown at the end of the grid
    964964                if ( themes.data.settings.canInstall ) {
    965                         this.$el.append( '<div class="theme add-new-theme"><a href="' + themes.data.settings.installURI + '"><div class="theme-screenshot"><span></span></div><h3 class="theme-name">' + l10n.addNew + '</h3></a></div>' );
     965                        this.$el.append( '<a class="theme add-new-theme" href="' + themes.data.settings.installURI + '"><div class="theme-screenshot"><span></span></div><h3 class="theme-name">' + l10n.addNew + '</h3></div>' );
    966966                }
    967967
    968968                this.parent.page++;