Changeset 7616 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/template-tags.php
- Timestamp:
- 08/16/2018 05:19:19 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
r7403 r7616 16 16 */ 17 17 function release_row( $release ) { 18 $is_rosetta = defined( 'IS_ROSETTA_NETWORK' ) && IS_ROSETTA_NETWORK;19 18 ?> 20 19 <tr> … … 22 21 <td><?php echo esc_html( date_i18n( get_option( 'date_format' ), $release['builton'] ) ); ?></td> 23 22 <td><a href="<?php echo esc_url( $release['zip_url'] ); ?>">zip</a><br> 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>23 <small>(<a href="<?php echo esc_url( $release['zip_url'] . '.md5' ); ?>">md5</a> | <a href="<?php echo esc_url( $release['zip_url'] . '.sha1' ); ?>">sha1</a>)</small> 25 24 </td> 26 25 <td><a href="<?php echo esc_url( $release['targz_url'] ); ?>">tar.gz</a><br> 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>26 <small>(<a href="<?php echo esc_url( $release['targz_url'] . '.md5' ); ?>">md5</a> | <a href="<?php echo esc_url( $release['targz_url'] . '.sha1' ); ?>">sha1</a>)</small> 28 27 </td> 29 <?php if ( ! $is_rosetta) : ?>28 <?php if ( ! defined( 'IS_ROSETTA_NETWORK' ) || ! IS_ROSETTA_NETWORK ) : ?> 30 29 <td> 31 30 <?php if ( ! empty( $release['iis_url'] ) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.