WordPress.org

Make WordPress Core

Ticket #33559: 33559.1.patch

File 33559.1.patch, 4.2 KB (added by Cheffheid, 5 years ago)

Bumps headings up to h2 and fixes styles - these CSS changes should help with maintaining the look on other h3 to h2 changes.

  • wp-admin/css/common.css

     
    329329        margin: .67em 0;
    330330}
    331331
    332 .wrap > h1,
    333 h2 {
     332.wrap > h1 {
    334333        color: #23282d;
    335334        font-size: 1.5em;
    336335        margin: .83em 0;
     
    337336        font-weight: 400;
    338337}
    339338
     339h2,
    340340h3 {
    341341        color: #23282d;
    342342        font-size: 1.3em;
     
    568568}
    569569
    570570.wrap h1,
    571 .wrap h2,
    572571.subtitle {
    573572        font-weight: normal;
    574573        margin: 0;
    575574}
    576575
    577 .wrap h1,
    578 .wrap h2 {
     576.wrap h1 {
    579577        font-size: 23px;
    580578        font-weight: 400;
    581579        padding: 9px 15px 4px 0;
  • wp-admin/update-core.php

     
    159159        $updates = get_core_updates();
    160160
    161161        if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) {
    162                 echo '<h3>';
     162                echo '<h2>';
    163163                _e('You have the latest version of WordPress.');
    164164
    165165                if ( wp_http_supports( array( 'ssl' ) ) ) {
     
    175175                        if ( $should_auto_update )
    176176                                echo ' ' . __( 'Future security updates will be applied automatically.' );
    177177                }
    178                 echo '</h3>';
     178                echo '</h2>';
    179179        } else {
    180180                echo '<div class="notice notice-warning"><p>';
    181181                _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.');
    182182                echo '</p></div>';
    183183
    184                 echo '<h3 class="response">';
     184                echo '<h2 class="response">';
    185185                _e( 'An updated version of WordPress is available.' );
    186                 echo '</h3>';
     186                echo '</h2>';
    187187        }
    188188
    189189        if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) {
     
    225225        require_once(ABSPATH . 'wp-admin/includes/plugin-install.php');
    226226        $plugins = get_plugin_updates();
    227227        if ( empty( $plugins ) ) {
    228                 echo '<h3>' . __( 'Plugins' ) . '</h3>';
     228                echo '<h2>' . __( 'Plugins' ) . '</h2>';
    229229                echo '<p>' . __( 'Your plugins are all up to date.' ) . '</p>';
    230230                return;
    231231        }
     
    237237        else
    238238                $core_update_version = $core_updates[0]->current;
    239239        ?>
    240 <h3><?php _e( 'Plugins' ); ?></h3>
     240<h2><?php _e( 'Plugins' ); ?></h2>
    241241<p><?php _e( 'The following plugins have new versions available. Check the ones you want to update and then click &#8220;Update Plugins&#8221;.' ); ?></p>
    242242<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-plugins" class="upgrade">
    243243<?php wp_nonce_field('upgrade-core'); ?>
     
    314314function list_theme_updates() {
    315315        $themes = get_theme_updates();
    316316        if ( empty( $themes ) ) {
    317                 echo '<h3>' . __( 'Themes' ) . '</h3>';
     317                echo '<h2>' . __( 'Themes' ) . '</h2>';
    318318                echo '<p>' . __( 'Your themes are all up to date.' ) . '</p>';
    319319                return;
    320320        }
     
    321321
    322322        $form_action = 'update-core.php?action=do-theme-upgrade';
    323323?>
    324 <h3><?php _e( 'Themes' ); ?></h3>
     324<h2><?php _e( 'Themes' ); ?></h2>
    325325<p><?php _e( 'The following themes have new versions available. Check the ones you want to update and then click &#8220;Update Themes&#8221;.' ); ?></p>
    326326<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>
    327327<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade">
     
    366366        $updates = wp_get_translation_updates();
    367367        if ( ! $updates ) {
    368368                if ( 'en_US' != get_locale() ) {
    369                         echo '<h3>' . __( 'Translations' ) . '</h3>';
     369                        echo '<h2>' . __( 'Translations' ) . '</h2>';
    370370                        echo '<p>' . __( 'Your translations are all up to date.' ) . '</p>';
    371371                }
    372372                return;
     
    374374
    375375        $form_action = 'update-core.php?action=do-translation-upgrade';
    376376        ?>
    377         <h3><?php _e( 'Translations' ); ?></h3>
     377        <h2><?php _e( 'Translations' ); ?></h2>
    378378        <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-translations" class="upgrade">
    379379                <p><?php _e( 'New translations are available.' ); ?></p>
    380380                <?php wp_nonce_field( 'upgrade-translations' ); ?>