Ticket #43307: 43307.diff
| File 43307.diff, 1.4 KB (added by , 8 years ago) |
|---|
-
src/wp-admin/includes/theme.php
744 744 745 745 <div class="theme-actions"> 746 746 <# if ( data.active ) { #> 747 <button type="button" class="button button-primary customize-theme"><?php _e( 'Customize' ); ?></ a>747 <button type="button" class="button button-primary customize-theme"><?php _e( 'Customize' ); ?></button> 748 748 <# } else if ( 'installed' === data.type ) { #> 749 749 <?php if ( current_user_can( 'delete_themes' ) ) { ?> 750 750 <# if ( data.actions && data.actions['delete'] ) { #> … … 751 751 <a href="{{{ data.actions['delete'] }}}" data-slug="{{ data.id }}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a> 752 752 <# } #> 753 753 <?php } ?> 754 <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></ span>754 <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></button> 755 755 <# } else { #> 756 756 <button type="button" class="button theme-install" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></button> 757 757 <button type="button" class="button button-primary theme-install preview" data-slug="{{ data.id }}"><?php _e( 'Install & Preview' ); ?></button>