WordPress.org

Make WordPress Core

Changeset 39537


Ignore:
Timestamp:
12/07/2016 08:17:56 PM (18 months ago)
Author:
afercia
Message:

Accessibility: Remove inappropriate content from the Link Manager screens headings.

See #26601.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-link-form.php

    r38725 r39537  
    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>
     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">
    7480
    7581<?php if ( isset( $_GET['added'] ) ) : ?>
  • trunk/src/wp-admin/link-manager.php

    r38958 r39537  
    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 */
     
    8692}
    8793?>
    88 </h1>
     94
     95<hr class="wp-header-end">
    8996
    9097<?php
Note: See TracChangeset for help on using the changeset viewer.