| @@ -55,13 +55,8 @@ | ||
| 55 | 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 | { |