Ticket #15785: 15785.hide.patch
| File 15785.hide.patch, 1.0 KB (added by ocean90, 2 years ago) |
|---|
-
wp-admin/plugins.php
360 360 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 ); if ( ! is_multisite() && 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> 364 364 365 365 <?php do_action( 'pre_current_active_plugins', $plugins['all'] ) ?> 366 366 -
wp-admin/themes.php
83 83 <?php endif; 84 84 else : ?> 85 85 <h2> 86 <?php e sc_html_e( $title ); ?>86 <?php echo esc_html( $title ); ?> 87 87 <?php endif; ?> 88 88 </h2> 89 89
