Ticket #26601: 26601.plugins.patch
File 26601.plugins.patch, 1.3 KB (added by , 4 years ago) |
---|
-
wp-admin/plugins.php
491 491 <?php endif; ?> 492 492 493 493 <div class="wrap"> 494 <h1><?php echo esc_html( $title ); 495 if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> 496 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="page-title-action"><?php echo esc_html_x('Add New', 'plugin'); ?></a> 494 <h1 class="wp-heading-inline"> 495 <?php 496 echo esc_html( $title ); 497 ?> 498 </h1> 497 499 <?php 498 } 500 if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> 501 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="page-title-action"><?php echo esc_html_x('Add New', 'plugin'); ?></a> 502 <?php 503 } 499 504 500 if ( strlen( $s ) ) {501 /* translators: %s: search keywords */502 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( urldecode( $s ) ) );503 }505 if ( strlen( $s ) ) { 506 /* translators: %s: search keywords */ 507 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( urldecode( $s ) ) ); 508 } 504 509 ?> 505 </h1> 506 510 <hr class="wp-header-end"> 507 511 <?php 508 512 /** 509 513 * Fires before the plugins list table is rendered.