WordPress.org

Making WordPress.org

Changeset 7403


Ignore:
Timestamp:
07/10/2018 05:11:21 PM (2 years ago)
Author:
obenland
Message:

Main: Show hashes on their own line.

See #3673.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/template-tags.php

    r7375 r7403  
    2121        <td><?php echo esc_html( $release['version'] ); ?></td>
    2222        <td><?php echo esc_html( date_i18n( get_option( 'date_format' ), $release['builton'] ) ); ?></td>
    23         <td><a href="<?php echo esc_url( $release['zip_url'] ); ?>">zip</a>
    24             <small>(<a href="<?php echo esc_url( $release['zip_url'] . '.md5' ); ?>">md5</a>
    25                 <?php if ( ! $is_rosetta ) : ?>
    26                     | <a href="<?php echo esc_url( $release['zip_url'] . '.sha1' ); ?>">sha1</a>
    27                 <?php endif; ?>)
    28             </small>
     23        <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>
    2925        </td>
    30         <td><a href="<?php echo esc_url( $release['targz_url'] ); ?>">tar.gz</a>
    31             <small>(<a href="<?php echo esc_url( $release['targz_url'] . '.md5' ); ?>">md5</a>
    32                 <?php if ( ! $is_rosetta ) : ?>
    33                     | <a href="<?php echo esc_url( $release['targz_url'] . '.sha1' ); ?>">sha1</a>
    34                 <?php endif; ?>)
    35             </small>
     26        <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>
    3628        </td>
    3729        <?php if ( ! $is_rosetta ) : ?>
    3830            <td>
    3931                <?php if ( ! empty( $release['iis_url'] ) ) : ?>
    40                     <a href="<?php echo esc_url( $release['iis_url'] ); ?>">IIS zip</a>
     32                    <a href="<?php echo esc_url( $release['iis_url'] ); ?>">IIS zip</a><br>
    4133                    <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>
    4234                <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.