WordPress.org

Make WordPress Core

Ticket #26601: 26601.link-manager.diff

File 26601.link-manager.diff, 1.7 KB (added by afercia, 3 years ago)
  • src/wp-admin/edit-link-form.php

     
    7070?>
    7171
    7272<div class="wrap">
    73 <h1><?php echo esc_html( $title ); ?>  <a href="link-add.php" class="page-title-action"><?php echo esc_html_x('Add New', 'link'); ?></a></h1>
     73<h1 class="wp-heading-inline"><?php
     74echo esc_html( $title );
     75?></h1>
    7476
     77<a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'link' ); ?></a>
     78
     79<hr class="wp-header-end">
     80
    7581<?php if ( isset( $_GET['added'] ) ) : ?>
    7682<div id="message" class="updated notice is-dismissible"><p><?php _e('Link added.'); ?></p></div>
    7783<?php endif; ?>
  • src/wp-admin/link-manager.php

     
    7979?>
    8080
    8181<div class="wrap nosubsub">
    82 <h1><?php echo esc_html( $title ); ?> <a href="link-add.php" class="page-title-action"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php
     82<h1 class="wp-heading-inline"><?php
     83echo esc_html( $title );
     84?></h1>
     85
     86<a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'link' ); ?></a>
     87
     88<?php
    8389if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    8490        /* translators: %s: search keywords */
    8591        printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( wp_unslash( $_REQUEST['s'] ) ) );
    8692}
    8793?>
    88 </h1>
    8994
     95<hr class="wp-header-end">
     96
    9097<?php
    9198if ( isset($_REQUEST['deleted']) ) {
    9299        echo '<div id="message" class="updated notice is-dismissible"><p>';