Bump H3 headings to H2 on WordPress Updates screen for better accessibility.
props Cheffheid. fixes #33559. Built from https://develop.svn.wordpress.org/trunk@33817 git-svn-id: http://core.svn.wordpress.org/trunk@33785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4d006fad9e
commit
fb3d54d569
|
@ -329,14 +329,14 @@ h1 {
|
|||
margin: .67em 0;
|
||||
}
|
||||
|
||||
.wrap > h1,
|
||||
h2 {
|
||||
.wrap > h1 {
|
||||
color: #23282d;
|
||||
font-size: 1.5em;
|
||||
margin: .83em 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3 {
|
||||
color: #23282d;
|
||||
font-size: 1.3em;
|
||||
|
@ -568,14 +568,12 @@ code {
|
|||
}
|
||||
|
||||
.wrap h1,
|
||||
.wrap h2,
|
||||
.subtitle {
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wrap h1,
|
||||
.wrap h2 {
|
||||
.wrap h1 {
|
||||
font-size: 23px;
|
||||
font-weight: 400;
|
||||
padding: 9px 0 4px 15px;
|
||||
|
|
|
@ -329,14 +329,14 @@ h1 {
|
|||
margin: .67em 0;
|
||||
}
|
||||
|
||||
.wrap > h1,
|
||||
h2 {
|
||||
.wrap > h1 {
|
||||
color: #23282d;
|
||||
font-size: 1.5em;
|
||||
margin: .83em 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3 {
|
||||
color: #23282d;
|
||||
font-size: 1.3em;
|
||||
|
@ -568,14 +568,12 @@ code {
|
|||
}
|
||||
|
||||
.wrap h1,
|
||||
.wrap h2,
|
||||
.subtitle {
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wrap h1,
|
||||
.wrap h2 {
|
||||
.wrap h1 {
|
||||
font-size: 23px;
|
||||
font-weight: 400;
|
||||
padding: 9px 15px 4px 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -159,7 +159,7 @@ function core_upgrade_preamble() {
|
|||
$updates = get_core_updates();
|
||||
|
||||
if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) {
|
||||
echo '<h3>';
|
||||
echo '<h2>';
|
||||
_e('You have the latest version of WordPress.');
|
||||
|
||||
if ( wp_http_supports( array( 'ssl' ) ) ) {
|
||||
|
@ -175,15 +175,15 @@ function core_upgrade_preamble() {
|
|||
if ( $should_auto_update )
|
||||
echo ' ' . __( 'Future security updates will be applied automatically.' );
|
||||
}
|
||||
echo '</h3>';
|
||||
echo '</h2>';
|
||||
} else {
|
||||
echo '<div class="notice notice-warning"><p>';
|
||||
_e('<strong>Important:</strong> before updating, please <a href="https://codex.wordpress.org/WordPress_Backups">back up your database and files</a>. For help with updates, visit the <a href="https://codex.wordpress.org/Updating_WordPress">Updating WordPress</a> Codex page.');
|
||||
echo '</p></div>';
|
||||
|
||||
echo '<h3 class="response">';
|
||||
echo '<h2 class="response">';
|
||||
_e( 'An updated version of WordPress is available.' );
|
||||
echo '</h3>';
|
||||
echo '</h2>';
|
||||
}
|
||||
|
||||
if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) {
|
||||
|
@ -225,7 +225,7 @@ function list_plugin_updates() {
|
|||
require_once(ABSPATH . 'wp-admin/includes/plugin-install.php');
|
||||
$plugins = get_plugin_updates();
|
||||
if ( empty( $plugins ) ) {
|
||||
echo '<h3>' . __( 'Plugins' ) . '</h3>';
|
||||
echo '<h2>' . __( 'Plugins' ) . '</h2>';
|
||||
echo '<p>' . __( 'Your plugins are all up to date.' ) . '</p>';
|
||||
return;
|
||||
}
|
||||
|
@ -237,7 +237,7 @@ function list_plugin_updates() {
|
|||
else
|
||||
$core_update_version = $core_updates[0]->current;
|
||||
?>
|
||||
<h3><?php _e( 'Plugins' ); ?></h3>
|
||||
<h2><?php _e( 'Plugins' ); ?></h2>
|
||||
<p><?php _e( 'The following plugins have new versions available. Check the ones you want to update and then click “Update Plugins”.' ); ?></p>
|
||||
<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-plugins" class="upgrade">
|
||||
<?php wp_nonce_field('upgrade-core'); ?>
|
||||
|
@ -314,14 +314,14 @@ function list_plugin_updates() {
|
|||
function list_theme_updates() {
|
||||
$themes = get_theme_updates();
|
||||
if ( empty( $themes ) ) {
|
||||
echo '<h3>' . __( 'Themes' ) . '</h3>';
|
||||
echo '<h2>' . __( 'Themes' ) . '</h2>';
|
||||
echo '<p>' . __( 'Your themes are all up to date.' ) . '</p>';
|
||||
return;
|
||||
}
|
||||
|
||||
$form_action = 'update-core.php?action=do-theme-upgrade';
|
||||
?>
|
||||
<h3><?php _e( 'Themes' ); ?></h3>
|
||||
<h2><?php _e( 'Themes' ); ?></h2>
|
||||
<p><?php _e( 'The following themes have new versions available. Check the ones you want to update and then click “Update Themes”.' ); ?></p>
|
||||
<p><?php printf( __( '<strong>Please Note:</strong> Any customizations you have made to theme files will be lost. Please consider using <a href="%s">child themes</a> for modifications.' ), __( 'https://codex.wordpress.org/Child_Themes' ) ); ?></p>
|
||||
<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade">
|
||||
|
@ -366,7 +366,7 @@ function list_translation_updates() {
|
|||
$updates = wp_get_translation_updates();
|
||||
if ( ! $updates ) {
|
||||
if ( 'en_US' != get_locale() ) {
|
||||
echo '<h3>' . __( 'Translations' ) . '</h3>';
|
||||
echo '<h2>' . __( 'Translations' ) . '</h2>';
|
||||
echo '<p>' . __( 'Your translations are all up to date.' ) . '</p>';
|
||||
}
|
||||
return;
|
||||
|
@ -374,7 +374,7 @@ function list_translation_updates() {
|
|||
|
||||
$form_action = 'update-core.php?action=do-translation-upgrade';
|
||||
?>
|
||||
<h3><?php _e( 'Translations' ); ?></h3>
|
||||
<h2><?php _e( 'Translations' ); ?></h2>
|
||||
<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-translations" class="upgrade">
|
||||
<p><?php _e( 'New translations are available.' ); ?></p>
|
||||
<?php wp_nonce_field( 'upgrade-translations' ); ?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-33816';
|
||||
$wp_version = '4.4-alpha-33817';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue