Changeset 7357 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/template-tags.php
- Timestamp:
- 07/02/2018 11:21:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/template-tags.php
r7349 r7357 16 16 */ 17 17 function release_row( $release ) { 18 $is_rosetta = defined( 'IS_ROSETTA_NETWORK' ) && IS_ROSETTA_NETWORK; 18 19 ?> 19 20 <tr> … … 21 22 <td><?php echo esc_html( date_i18n( get_option( 'date_format' ), $release['builton'] ) ); ?></td> 22 23 <td><a href="<?php echo esc_url( $release['zip_url'] ); ?>">zip</a> 23 <small>(<a href="<?php echo esc_url( $release['zip_url'] . '.md5' ); ?>">md5</a> )</small>24 <small>(<a href="<?php echo esc_url( $release['zip_url'] . '.md5' ); ?>">md5</a><?php if ( ! $is_rosetta ) : ?> | <a href="<?php echo esc_url( $release['zip_url'] . '.sha1' ); ?>">sha1</a><?php endif; ?>)</small> 24 25 </td> 25 26 <td><a href="<?php echo esc_url( $release['targz_url'] ); ?>">tar.gz</a> 26 <small>(<a href="<?php echo esc_url( $release['targz_url'] . '.md5' ); ?>">md5</a> )</small>27 <small>(<a href="<?php echo esc_url( $release['targz_url'] . '.md5' ); ?>">md5</a><?php if ( ! $is_rosetta ) : ?> | <a href="<?php echo esc_url( $release['targz_url'] . '.sha1' ); ?>">sha1</a><?php endif; ?>)</small> 27 28 </td> 29 <?php if ( ! $is_rosetta ) : ?> 30 <td> 31 <?php if ( ! empty( $release['iis_url'] ) ) : ?> 32 <a href="<?php echo esc_url( $release['iis_url'] ); ?>">IIS zip</a> 33 <small>(<a href="<?php echo esc_url( $release['iis_url'] . '.md5' ); ?>">md5</a> | <a href="<?php echo esc_url( $release['iis_url'] . '.sha1' ); ?>">sha1</a>)</small> 34 <?php endif; ?> 35 </td> 36 <?php endif; ?> 28 37 </tr> 29 38 <?php
Note: See TracChangeset
for help on using the changeset viewer.