Changeset 42217 for trunk/src/wp-admin/themes.php
- Timestamp:
- 11/23/2017 04:08:42 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r42201 r42217 251 251 $aria_action = esc_attr( $theme['id'] . '-action' ); 252 252 $aria_name = esc_attr( $theme['id'] . '-name' ); 253 254 $active_class = ''; 255 if ( $theme['active'] ) { 256 $active_class = ' active'; 257 } 253 258 ?> 254 <div class="theme<?php if ( $theme['active'] ) echo ' active'; ?>" tabindex="0" aria-describedby="<?php echo $aria_action . ' ' . $aria_name; ?>">259 <div class="theme<?php echo $active_class; ?>" tabindex="0" aria-describedby="<?php echo $aria_action . ' ' . $aria_name; ?>"> 255 260 <?php if ( ! empty( $theme['screenshot'][0] ) ) { ?> 256 261 <div class="theme-screenshot">
Note: See TracChangeset
for help on using the changeset viewer.