diff -Naur old/theme-install.php new/theme-install.php
old
|
new
|
|
274 | 274 | /* translators: %s: Theme name */ |
275 | 275 | $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' ); |
276 | 276 | ?> |
277 | | <# if ( data.activate_url ) { #> |
| 277 | <# if ( data.activate_url && ( data.id !== "<?php echo get_option('stylesheet'); ?>" ) ) { #> |
278 | 278 | <a class="button button-primary activate" href="{{ data.activate_url }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a> |
279 | 279 | <# } #> |
280 | 280 | <# if ( data.customize_url ) { #> |