Make WordPress Core


Ignore:
Timestamp:
12/07/2016 06:47:47 PM (8 years ago)
Author:
afercia
Message:

Accessibility: Remove inappropriate content from the Plugins screen heading.

See #26601.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugins.php

    r38958 r39535  
    492492
    493493<div class="wrap">
    494 <h1><?php echo esc_html( $title );
     494<h1 class="wp-heading-inline"><?php
     495echo esc_html( $title );
     496?></h1>
     497
     498<?php
    495499if ( ( ! 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>
    497501<?php
    498502}
     
    503507}
    504508?>
    505 </h1>
     509
     510<hr class="wp-header-end">
    506511
    507512<?php
Note: See TracChangeset for help on using the changeset viewer.