Making WordPress.org


Ignore:
Timestamp:
10/21/2016 05:57:46 AM (8 years ago)
Author:
dd32
Message:

Plugin Directory: Add some basic Committer/Contributor widgets for the plugin "admin" view.

See #2111

File:
1 edited

Legend:

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

    r4263 r4278  
    8686                <?php if ( current_user_can( 'plugin_admin_view', get_post() ) ) : ?>
    8787                    <br>
    88                     <a class="plugin-edit" href="<?php echo esc_url( get_permalink() . 'admin/' ); ?>"><?php _e( 'Edit Plugin', 'wporg-plugins' ); ?></a>
     88                    <a class="plugin-edit hide-if-no-js" href="<?php echo esc_url( get_permalink() . 'admin/' ); ?>"><?php _e( 'Edit Plugin', 'wporg-plugins' ); ?></a>
    8989                <?php endif; ?>
    9090            </div>
Note: See TracChangeset for help on using the changeset viewer.