Changeset 5248 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php
- Timestamp:
- 04/05/2017 04:50:33 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php
r5210 r5248 73 73 <?php endif; ?> 74 74 75 <?php if ( current_user_can( 'plugin_admin_view', $post ) ) : ?>75 <?php if ( ! get_query_var( 'plugin_advanced' ) ) : ?> 76 76 <li class="hide-if-no-js"> 77 77 <?php 78 printf( __( 'Admin access: %s', 'wporg-plugins' ), 79 sprintf( '<strong><a class="plugin-admin" href="%s">%s</a></strong>', esc_url( get_permalink() . 'admin/' ), __( 'View Admin', 'wporg-plugins' ) ) 80 ); 78 printf( '<strong><a class="plugin-admin" href="%s">%s</a></strong>', esc_url( get_permalink() . 'advanced/' ), __( 'Advanced View', 'wporg-plugins' ) ); 81 79 ?> 82 80 </li>
Note: See TracChangeset
for help on using the changeset viewer.