Changeset 16919 for trunk/wp-admin/plugins.php
- Timestamp:
- 12/14/2010 04:46:45 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/plugins.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r16900 r16919 361 361 <div class="wrap"> 362 362 <?php screen_icon(); ?> 363 <h2><?php echo esc_html( $title ); if ( current_user_can('install_plugins') ) { ?> <a href="plugin-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a><?php } ?></h2> 363 <h2><?php echo esc_html( $title ); 364 if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> 365 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="button add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a> 366 <?php } ?></h2> 364 367 365 368 <?php do_action( 'pre_current_active_plugins', $plugins['all'] ) ?>
Note: See TracChangeset
for help on using the changeset viewer.