WordPress.org

Make WordPress Core

Changeset 28038


Ignore:
Timestamp:
04/08/2014 04:37:37 AM (5 years ago)
Author:
nacin
Message:

Theme Installer: Show 'Preview' button for installed themes.

props adamsilverstein.
see #27055, see #27708.

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

Legend:

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

    r28037 r28038  
    10871087    content: '\f147';
    10881088}
    1089 .theme-browser .theme.is-installed .theme-actions,
     1089.theme-browser .theme.is-installed .theme-actions .button-primary,
    10901090.theme-browser.rendered .theme.is-installed .more-details {
    10911091    display: none !important;
  • trunk/src/wp-admin/js/theme.js

    r28036 r28038  
    391391        if ( this.model.get( 'installed' ) ) {
    392392            this.$el.addClass( 'is-installed' );
    393             this.$el.unbind();
    394393        }
    395394    },
Note: See TracChangeset for help on using the changeset viewer.