Ticket #26601: 26601.link-manager.diff
| File 26601.link-manager.diff, 1.7 KB (added by , 9 years ago) |
|---|
-
src/wp-admin/edit-link-form.php
70 70 ?> 71 71 72 72 <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 74 echo esc_html( $title ); 75 ?></h1> 74 76 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 75 81 <?php if ( isset( $_GET['added'] ) ) : ?> 76 82 <div id="message" class="updated notice is-dismissible"><p><?php _e('Link added.'); ?></p></div> 77 83 <?php endif; ?> -
src/wp-admin/link-manager.php
79 79 ?> 80 80 81 81 <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 83 echo 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 83 89 if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { 84 90 /* translators: %s: search keywords */ 85 91 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( wp_unslash( $_REQUEST['s'] ) ) ); 86 92 } 87 93 ?> 88 </h1>89 94 95 <hr class="wp-header-end"> 96 90 97 <?php 91 98 if ( isset($_REQUEST['deleted']) ) { 92 99 echo '<div id="message" class="updated notice is-dismissible"><p>';