Making WordPress.org

Changeset 5250


Ignore:
Timestamp:
04/05/2017 05:22:14 AM (8 years ago)
Author:
dd32
Message:

Plugin Directory: Add a warning to the previous download links that they're only available for testing, and not intended for normal usage.

See #2365

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/section-advanced.php

    r5249 r5250  
    4444            echo '<h5>' . __( 'Previous Versions', 'wporg-plugins' ) . '</h5>';
    4545
     46            echo '<div class="plugin-notice notice notice-info notice-alt"><p>' . __( 'Previous versions of this plugin may not be secure or stable and are available for testing purposes only.', 'wporg-plugins' ) . '</p></div>';
     47
    4648            echo '<select id="prevous-versions" onchange="getElementById(\'download-previous-link\').href=this.value;">';
    4749            foreach ( $tags as $version ) {
Note: See TracChangeset for help on using the changeset viewer.