WordPress.org

Making WordPress.org

Changeset 2654


Ignore:
Timestamp:
03/01/2016 03:32:49 AM (4 years ago)
Author:
dd32
Message:

Plugin Directory: Remove the version number from the Download version, adding it to the plugin meta instead.

See #1584

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/single-plugin.php

    r2612 r2654  
    3434                <div class="description-right">
    3535                    <p class="button">
    36                         <a itemprop='downloadUrl' href='<?php echo esc_url( wporg_plugins_download_link() ); ?>'><?php printf( __( 'Download Version %s', 'wporg-plugins' ), wporg_plugins_the_version() ); ?></a>
     36                        <a itemprop='downloadUrl' href='<?php echo esc_url( wporg_plugins_download_link() ); ?>'><?php _e( 'Download', 'wporg-plugins' ); ?></a>
    3737                    </p>
    3838                    <meta itemprop="softwareVersion" content="<?php echo esc_attr( wporg_plugins_the_version() ); ?>" />
     
    6767            <div class="" style="width: 212px; float: right;">
    6868                <p>
    69                     <strong>Requires:</strong> <?php printf( __('%s or higher', 'wporg-plugins' ), wporg_plugins_template_requires() ); ?><br />
    70                     <strong>Compatible up to:</strong> <?php echo wporg_plugins_template_compatible_up_to(); ?><br />
    71                     <strong>Last Updated: </strong> <?php echo wporg_plugins_template_last_updated(); ?><br />
    72                     <strong>Active Installs:</strong> <?php echo worg_plugins_template_active_installs( false ); ?><br />
     69                    <strong>Version:</strong> <?php echo wporg_plugins_the_version(); ?><br>
     70                    <strong>Requires:</strong> <?php printf( __('%s or higher', 'wporg-plugins' ), wporg_plugins_template_requires() ); ?><br>
     71                    <strong>Compatible up to:</strong> <?php echo wporg_plugins_template_compatible_up_to(); ?><br>
     72                    <strong>Last Updated: </strong> <?php echo wporg_plugins_template_last_updated(); ?><br>
     73                    <strong>Active Installs:</strong> <?php echo worg_plugins_template_active_installs( false ); ?><br>
    7374                    <meta itemprop="dateModified" content="<?php the_time('Y-m-d'); ?>" />
    7475                </p>
Note: See TracChangeset for help on using the changeset viewer.