Changeset 47819 for trunk/src/wp-admin/includes/theme.php
- Timestamp:
- 05/18/2020 04:01:38 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r47818 r47819 828 828 <# } #> 829 829 <# } else { #> 830 <button type="button" class="button theme-install" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></button> 831 <button type="button" class="button button-primary theme-install preview" data-slug="{{ data.id }}"><?php _e( 'Install & Preview' ); ?></button> 830 <# if ( data.compatibleWP && data.compatiblePHP ) { #> 831 <button type="button" class="button theme-install" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></button> 832 <button type="button" class="button button-primary theme-install preview" data-slug="{{ data.id }}"><?php _e( 'Install & Preview' ); ?></button> 833 <# } else { #> 834 <button type="button" class="button disabled"><?php _ex( 'Cannot Install', 'theme' ); ?></button> 835 <button type="button" class="button button-primary disabled"><?php _e( 'Install & Preview' ); ?></button> 836 <# } #> 832 837 <# } #> 833 838 </div>
Note: See TracChangeset
for help on using the changeset viewer.