Changeset 8882 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/section.php
- Timestamp:
- 05/27/2019 08:34:59 AM (6 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
r8880 r8882 12 12 $prefix = in_array( $section_slug, array( 'screenshots', 'faq' ), true ) ? '' : 'tab-'; 13 13 14 $classes = [ 'plugin-' . $section_slug, 'section' , 'tabcontent'];14 $classes = [ 'plugin-' . $section_slug, 'section' ]; 15 15 $classes = implode( ' ', $classes ); 16 16 ?> 17 17 18 <div id="<?php echo esc_attr( $prefix . $section_slug ); ?>" role="tabpanel" aria-labelled-by="<?php echo esc_attr( 'tab-button-' . $section_slug ); ?>"class="<?php echo esc_attr( $classes ); ?>">18 <div id="<?php echo esc_attr( $prefix . $section_slug ); ?>" class="<?php echo esc_attr( $classes ); ?>"> 19 19 <h2 id="<?php echo esc_attr( $section_slug . '-header' ); ?>"><?php echo esc_html( $section['title'] ); ?></h2> 20 20 <?php echo $section_content; ?>
Note: See TracChangeset
for help on using the changeset viewer.