Changeset 5399 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/section.php
- Timestamp:
- 04/20/2017 04:12:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/section.php
r5394 r5399 13 13 14 14 <div 15 id="<?php echo esc_attr( $section_slug ); ?>" 15 <?php if ( !in_array ( $section_slug, array( 'screenshots','faq' ) ) ) { 16 $prefix = 'tab-'; 17 } else { 18 $prefix = ''; 19 } 20 ?> 21 id="<?php echo esc_attr( $prefix.$section_slug ); ?>" 16 22 class="plugin-<?php echo esc_attr( $section_slug ); ?> section <?php if ( $section_read_more ) { echo 'read-more'; } ?>" 17 23 > … … 23 29 type="button" 24 30 class="button-link section-toggle" 25 aria-controls="<?php echo esc_attr( $ section_slug ); ?>"31 aria-controls="<?php echo esc_attr( $prefix.$section_slug ); ?>" 26 32 aria-describedby="<?php echo esc_attr( $section_slug . '-header' ); ?>" 27 33 aria-expanded="false"
Note: See TracChangeset
for help on using the changeset viewer.