| @@ -51,17 +51,12 @@ | ||
| 51 | 51 | </div> |
| 52 | 52 | <?php if ( ! empty( $plugin->info->screenshots ) ) : ?> |
| 53 | 53 | <?php $screenshots = $plugin->info->screenshots ?> |
| 54 | 54 | <div class="fs-screenshots clearfix"> |
| 55 | - <h2><?php fs_esc_html_echo_inline( 'Screenshots', 'screenshots', $plugin->slug ) ?></h2> | |
| 55 | + <h3><?php fs_esc_html_echo_inline( 'Screenshots', 'screenshots', $plugin->slug ) ?></h3> | |
| 56 | 56 | <ul> |
| 57 | 57 | <?php $i = 0; |
| 58 | 58 | foreach ( $screenshots as $s => $url ) : ?> |
| 59 | - <?php | |
| 60 | - // Relative URLs are replaced with WordPress.org base URL | |
| 61 | - // therefore we need to set absolute URLs. | |
| 62 | - $url = 'http' . ( WP_FS__IS_HTTPS ? 's' : '' ) . ':' . $url; | |
| 63 | - ?> | |
| 64 | 59 | <li class="<?php echo ( 0 === $i % 2 ) ? 'odd' : 'even' ?>"> |
| 65 | 60 | <style> |
| 66 | 61 | #section-description .fs-screenshots <?php echo ".fs-screenshot-{$i}" ?> |
| 67 | 62 | { |