Ticket #26601: 26601.plugins.diff
File 26601.plugins.diff, 1.5 KB (added by , 4 years ago) |
---|
-
src/wp-admin/js/updates.js
2259 2259 } else if ( $oldSubTitle.length ) { 2260 2260 $oldSubTitle.replaceWith( $subTitle ); 2261 2261 } else { 2262 $( '.w rap h1' ).append( $subTitle );2262 $( '.wp-header-end' ).before( $subTitle ); 2263 2263 } 2264 2264 2265 2265 $( 'body' ).removeClass( 'loading-content' ); -
src/wp-admin/plugins.php
491 491 <?php endif; ?> 492 492 493 493 <div class="wrap"> 494 <h1><?php echo esc_html( $title ); 494 <h1 class="wp-heading-inline"><?php 495 echo esc_html( $title ); 496 ?></h1> 497 498 <?php 495 499 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>500 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'plugin' ); ?></a> 497 501 <?php 498 502 } 499 503 … … 502 506 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( urldecode( $s ) ) ); 503 507 } 504 508 ?> 505 </h1>506 509 510 <hr class="wp-header-end"> 511 507 512 <?php 508 513 /** 509 514 * Fires before the plugins list table is rendered.