Bump H3 headings to H2 on the Media Settings screen for better accessibility.

Props metodiew.
Fixes #33610.

Built from https://develop.svn.wordpress.org/trunk@33915


git-svn-id: http://core.svn.wordpress.org/trunk@33884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-09-05 20:12:25 +00:00
parent 2a3be365e3
commit 941d65c462
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<form action="options.php" method="post">
<?php settings_fields('media'); ?>
<h3 class="title"><?php _e('Image sizes') ?></h3>
<h2 class="title"><?php _e('Image sizes') ?></h2>
<p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p>
<table class="form-table">
@ -89,14 +89,14 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
* @global array $wp_settings
*/
if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
<h3 class="title"><?php _e('Embeds') ?></h3>
<h2 class="title"><?php _e('Embeds') ?></h2>
<table class="form-table">
<?php do_settings_fields( 'media', 'embeds' ); ?>
</table>
<?php endif; ?>
<?php if ( !is_multisite() ) : ?>
<h3 class="title"><?php _e('Uploading Files'); ?></h3>
<h2 class="title"><?php _e('Uploading Files'); ?></h2>
<table class="form-table">
<?php
// If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty)

View File

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