WordPress.org

Make WordPress Core

Ticket #27055: 27521.diff

File 27521.diff, 910 bytes (added by adamsilverstein, 5 years ago)

allow previewing of installed themes

  • src/wp-admin/css/themes.css

     
    10861086.theme-browser .theme .theme-installed:before {
    10871087        content: '\f147';
    10881088}
    1089 .theme-browser .theme.is-installed .theme-actions,
    1090 .theme-browser.rendered .theme.is-installed .more-details {
     1089.theme-browser .theme.is-installed .theme-actions .button-primary {
    10911090        display: none !important;
    10921091}
    10931092.theme-browser.rendered .theme.is-installed:hover .theme-screenshot img,
  • src/wp-admin/js/theme.js

     
    390390
    391391                if ( this.model.get( 'installed' ) ) {
    392392                        this.$el.addClass( 'is-installed' );
    393                         this.$el.unbind();
    394393                }
    395394        },
    396395