From 7b3b1c12d58161dcf9e446f12500c896837f39dc Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sat, 5 Sep 2015 18:29:40 +0000 Subject: [PATCH] Accessibility: bump H3 headings to H2 on User Edit and Your Profile screens. Ongoing effort to restore a good headings hierarchy in the admin screens after the reintroduction of the missing main `

` in [32974]. Fix a typo in the DocBlock for the `additional_capabilities_display` filter. Props metodiew. Fixes #33606. See #31650. git-svn-id: https://develop.svn.wordpress.org/trunk@33909 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/user-edit.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index c126be4fce..d97dbad7b6 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -230,7 +230,7 @@ if ( ! IS_PROFILE_PAGE ) {

-

+

@@ -301,7 +301,7 @@ do_action( 'personal_options', $profileuser ); } ?> -

+

@@ -392,7 +392,7 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c
-

+

@@ -444,7 +444,7 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c ?>
-

+

@@ -460,7 +460,7 @@ if ( $show_password_fields ) : ?>
-

+

@@ -568,7 +568,7 @@ if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?> * * The 'Additional Capabilities' section will only be enabled if * the number of the user's capabilities exceeds their number of - * of roles. + * roles. * * @since 2.8.0 * @@ -578,7 +578,7 @@ if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?> if ( count( $profileuser->caps ) > count( $profileuser->roles ) && apply_filters( 'additional_capabilities_display', true, $profileuser ) ) : ?> -

+