Changeset 62294 for trunk/src/wp-admin/theme-install.php
- Timestamp:
- 05/02/2026 10:44:56 PM (3 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/theme-install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/theme-install.php
r60806 r62294 488 488 ?> 489 489 <# if ( ! data.active ) { #> 490 <a class="button button-primary activate" href="{{ data.activate_url }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a>490 <a class="button button-primary button-compact activate" href="{{ data.activate_url }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a> 491 491 <# } else { #> 492 <button class="button button-primary disabled"><?php _ex( 'Activated', 'theme' ); ?></button>492 <button class="button button-primary button-compact disabled"><?php _ex( 'Activated', 'theme' ); ?></button> 493 493 <# } #> 494 494 <# } else { #> 495 <a class="button button-primary disabled" ><?php _ex( 'Cannot Activate', 'theme' ); ?></a>495 <a class="button button-primary button-compact disabled" ><?php _ex( 'Cannot Activate', 'theme' ); ?></a> 496 496 <# } #> 497 497 <# } else { #> 498 498 <# if ( data.compatible_wp && data.compatible_php ) { #> 499 <a href="{{ data.install_url }}" class="button button-primary theme-install" data-name="{{ data.name }}" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></a>499 <a href="{{ data.install_url }}" class="button button-primary button-compact theme-install" data-name="{{ data.name }}" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></a> 500 500 <# } else { #> 501 <a class="button button-primary disabled" ><?php _ex( 'Cannot Install', 'theme' ); ?></a>501 <a class="button button-primary button-compact disabled" ><?php _ex( 'Cannot Install', 'theme' ); ?></a> 502 502 <# } #> 503 503 <# } #>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)