Make WordPress Core

Ticket #33557: 33557.diff

File 33557.diff, 4.8 KB (added by wonderboymusic, 9 years ago)
  • src/wp-admin/css/common.css

     
    20262026        margin-right: 190px;
    20272027}
    20282028
     2029.metabox-holder h2,
    20292030.metabox-holder h3 {
    20302031        font-size: 14px;
    20312032        padding: 8px 12px;
     
    20332034        line-height: 1.4;
    20342035}
    20352036
     2037/* backwards compatibility with current nav-menus screen */
     2038.nav-menus-php .metabox-holder h3 {
     2039        padding: 10px 10px 11px 14px;
     2040        line-height: 21px;
     2041}
     2042
    20362043#templateside ul li a {
    20372044        text-decoration: none;
    20382045}
     
    33933400                font-size: 14px;
    33943401        }
    33953402
    3396         .metabox-holder h3 {
     3403        .metabox-holder h2 {
    33973404                padding: 12px;
    33983405        }
    33993406
  • src/wp-admin/css/dashboard.css

     
    947947        box-shadow: none;
    948948}
    949949
    950 #dashboard_browser_nag.postbox.browser-insecure h3 {
     950#dashboard_browser_nag.postbox.browser-insecure h2 {
    951951        border-bottom-color: #cd5a5a;
    952952        color: #fff;
    953953}
    954954
    955 #dashboard_browser_nag.postbox h3 {
     955#dashboard_browser_nag.postbox h2 {
    956956        border-bottom-color: #f6e2ac;
    957957        background: transparent none;
    958958        color: #fff;
     
    966966
    967967/* Make the browser nags easier to read with Open Sans */
    968968
    969 #dashboard_browser_nag h3.hndle {
     969#dashboard_browser_nag h2.hndle {
    970970        border: none;
    971971        font-weight: 600;
    972972        font-size: 20px;
  • src/wp-admin/css/edit.css

     
    239239        margin: 8px 0 5px;
    240240}
    241241
    242 #category-adder h4 {
     242.taxonomy-add-new {
     243        display: inline-block;
    243244        margin: 10px 0;
     245        font-weight: 600;
    244246}
    245247
    246248#side-sortables .add-menu-item-tabs,
     
    627629        position: absolute;
    628630}
    629631
    630 #poststuff h2 {
    631         margin-top: 20px;
    632         font-size: 1.5em;
    633         margin-bottom: 15px;
    634         padding: 0 0 3px;
    635         clear: left;
    636 }
    637 
     632#poststuff h2,
    638633#poststuff h3 {
    639634        font-size: 14px;
    640635        padding: 8px 12px;
     
    13581353                padding: 10px 10px;
    13591354        }
    13601355
     1356        #poststuff h2,
    13611357        #poststuff h3 {
    13621358                padding: 12px;
    13631359        }
  • src/wp-admin/includes/meta-boxes.php

     
    484484                </div>
    485485        <?php if ( current_user_can( $taxonomy->cap->edit_terms ) ) : ?>
    486486                        <div id="<?php echo $tax_name; ?>-adder" class="wp-hidden-children">
    487                                 <h4>
    488                                         <a id="<?php echo $tax_name; ?>-add-toggle" href="#<?php echo $tax_name; ?>-add" class="hide-if-no-js">
    489                                                 <?php
    490                                                         /* translators: %s: add new taxonomy label */
    491                                                         printf( __( '+ %s' ), $taxonomy->labels->add_new_item );
    492                                                 ?>
    493                                         </a>
    494                                 </h4>
     487                                <a id="<?php echo $tax_name; ?>-add-toggle" href="#<?php echo $tax_name; ?>-add" class="hide-if-no-js taxonomy-add-new">
     488                                        <?php
     489                                                /* translators: %s: add new taxonomy label */
     490                                                printf( __( '+ %s' ), $taxonomy->labels->add_new_item );
     491                                        ?>
     492                                </a>
    495493                                <p id="<?php echo $tax_name; ?>-add" class="category-add wp-hidden-child">
    496494                                        <label class="screen-reader-text" for="new<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label>
    497495                                        <input type="text" name="new<?php echo $tax_name; ?>" id="new<?php echo $tax_name; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $taxonomy->labels->new_item_name ); ?>" aria-required="true"/>
     
    920918        </div>
    921919
    922920        <div id="category-adder" class="wp-hidden-children">
    923                 <h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>
     921                <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add New Category' ); ?></a>
    924922                <p id="link-category-add" class="wp-hidden-child">
    925923                        <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
    926924                        <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" />
  • src/wp-admin/includes/template-functions.php

     
    993993                                                echo '<span class="screen-reader-text">' . sprintf( __( 'Click to toggle %s panel' ), $box['title'] ) . '</span><br />';
    994994                                                echo '</button>';
    995995                                        }
    996                                         echo "<h3 class='hndle'><span>{$box['title']}</span></h3>\n";
     996                                        echo "<h2 class='hndle'><span>{$box['title']}</span></h2>\n";
    997997                                        echo '<div class="inside">' . "\n";
    998998                                        call_user_func($box['callback'], $object, $box);
    999999                                        echo "</div>\n";