Bump H3 headings to H2 on the Network Add New User screen for better accessibility.

Props Cheffheid.
Fixes #33605.
Built from https://develop.svn.wordpress.org/trunk@33945


git-svn-id: http://core.svn.wordpress.org/trunk@33914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2015-09-07 16:03:25 +00:00
parent c44c7338c0
commit a49f9ef68f
2 changed files with 3 additions and 3 deletions

View File

@ -305,7 +305,7 @@ if ( ! empty( $messages ) ) {
<?php
if ( is_multisite() ) {
if ( $do_both )
echo '<h3 id="add-existing-user">' . __('Add Existing User') . '</h3>';
echo '<h2 id="add-existing-user">' . __( 'Add Existing User' ) . '</h2>';
if ( !is_super_admin() ) {
echo '<p>' . __( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>';
$label = __('Email');
@ -367,7 +367,7 @@ do_action( 'user_new_form', 'add-existing-user' );
if ( current_user_can( 'create_users') ) {
if ( $do_both )
echo '<h3 id="create-new-user">' . __( 'Add New User' ) . '</h3>';
echo '<h2 id="create-new-user">' . __( 'Add New User' ) . '</h2>';
?>
<p><?php _e('Create a brand new user and add them to this site.'); ?></p>
<form method="post" name="createuser" id="createuser" class="validate" novalidate="novalidate"<?php

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-33944';
$wp_version = '4.4-alpha-33945';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.