Making WordPress.org

Changeset 4335


Ignore:
Timestamp:
11/07/2016 07:22:23 AM (10 years ago)
Author:
dd32
Message:

Plugin Directory: Change the admin label to 'Admin' rather than 'Plugin Edit' and remove the Contributors priv note.

See #2111

Location:
sites/trunk/wordpress.org/public_html/wp-content
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-contributors.php

    r4301 r4335  
    5252                </style>
    5353                <h3><?php _e( 'Contributors', 'wporg-plugins' ); ?></h3>
    54                 <p class="widget-subnav"><small><a href="#"><?php _e( 'View the capabilities these users have', 'wporg-plugins' ); ?></a></small></p>
    5554
    5655                <ul id="contributors-list" class="contributors-list read-more" aria-expanded="false">
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php

    r4278 r4335  
    8686                                <?php if ( current_user_can( 'plugin_admin_view', get_post() ) ) : ?>
    8787                                        <br>
    88                                         <a class="plugin-edit hide-if-no-js" 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( 'Admin', 'wporg-plugins' ); ?></a>
    8989                                <?php endif; ?>
    9090                        </div>
Note: See TracChangeset for help on using the changeset viewer.