Ticket #33557: 33557.2.diff
File 33557.2.diff, 5.3 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/common.css
2028 2028 margin-right: 190px; 2029 2029 } 2030 2030 2031 .metabox-holder h3 { 2031 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ 2032 .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ 2033 .metabox-holder h2 { 2032 2034 font-size: 14px; 2033 2035 padding: 8px 12px; 2034 2036 margin: 0; … … 2035 2037 line-height: 1.4; 2036 2038 } 2037 2039 2040 /* Back-compat for nav-menus screen */ 2041 .nav-menus-php .metabox-holder h3 { 2042 padding: 10px 10px 11px 14px; 2043 line-height: 21px; 2044 } 2045 2038 2046 #templateside ul li a { 2039 2047 text-decoration: none; 2040 2048 } … … 3400 3408 font-size: 14px; 3401 3409 } 3402 3410 3403 .metabox-holder h3 { 3411 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ 3412 .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ 3413 .metabox-holder h2 { 3404 3414 padding: 12px; 3405 3415 } 3406 3416 -
src/wp-admin/css/dashboard.css
947 947 box-shadow: none; 948 948 } 949 949 950 #dashboard_browser_nag.postbox.browser-insecure h 3{950 #dashboard_browser_nag.postbox.browser-insecure h2 { 951 951 border-bottom-color: #cd5a5a; 952 952 color: #fff; 953 953 } 954 954 955 #dashboard_browser_nag.postbox h 3{955 #dashboard_browser_nag.postbox h2 { 956 956 border-bottom-color: #f6e2ac; 957 957 background: transparent none; 958 958 color: #fff; … … 966 966 967 967 /* Make the browser nags easier to read with Open Sans */ 968 968 969 #dashboard_browser_nag h 3.hndle {969 #dashboard_browser_nag h2.hndle { 970 970 border: none; 971 971 font-weight: 600; 972 972 font-size: 20px; -
src/wp-admin/css/edit.css
239 239 margin: 8px 0 5px; 240 240 } 241 241 242 /* Back-compat for pre-4.4 */ 242 243 #category-adder h4 { 244 margin: 0; 245 } 246 247 .taxonomy-add-new { 248 display: inline-block; 243 249 margin: 10px 0; 250 font-weight: 600; 244 251 } 245 252 246 253 #side-sortables .add-menu-item-tabs, … … 627 634 position: absolute; 628 635 } 629 636 637 #poststuff h3.hndle, /* Back-compat for pre-4.4 */ 638 #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ 630 639 #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 638 #poststuff h3 {639 640 font-size: 14px; 640 641 padding: 8px 12px; 641 642 margin: 0; … … 1358 1359 padding: 10px 10px; 1359 1360 } 1360 1361 1361 #poststuff h3 { 1362 #poststuff h3.hndle, /* Back-compat for pre-4.4 */ 1363 #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ 1364 #poststuff h2 { 1362 1365 padding: 12px; 1363 1366 } 1364 1367 -
src/wp-admin/includes/meta-boxes.php
497 497 </div> 498 498 <?php if ( current_user_can( $taxonomy->cap->edit_terms ) ) : ?> 499 499 <div id="<?php echo $tax_name; ?>-adder" class="wp-hidden-children"> 500 <h4> 501 <a id="<?php echo $tax_name; ?>-add-toggle" href="#<?php echo $tax_name; ?>-add" class="hide-if-no-js"> 502 <?php 503 /* translators: %s: add new taxonomy label */ 504 printf( __( '+ %s' ), $taxonomy->labels->add_new_item ); 505 ?> 506 </a> 507 </h4> 500 <a id="<?php echo $tax_name; ?>-add-toggle" href="#<?php echo $tax_name; ?>-add" class="hide-if-no-js taxonomy-add-new"> 501 <?php 502 /* translators: %s: add new taxonomy label */ 503 printf( __( '+ %s' ), $taxonomy->labels->add_new_item ); 504 ?> 505 </a> 508 506 <p id="<?php echo $tax_name; ?>-add" class="category-add wp-hidden-child"> 509 507 <label class="screen-reader-text" for="new<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label> 510 508 <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"/> … … 933 931 </div> 934 932 935 933 <div id="category-adder" class="wp-hidden-children"> 936 < h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>934 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add New Category' ); ?></a> 937 935 <p id="link-category-add" class="wp-hidden-child"> 938 936 <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label> 939 937 <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
994 994 echo '<span class="toggle-indicator" aria-hidden="true"></span>'; 995 995 echo '</button>'; 996 996 } 997 echo "<h 3 class='hndle'><span>{$box['title']}</span></h3>\n";997 echo "<h2 class='hndle'><span>{$box['title']}</span></h2>\n"; 998 998 echo '<div class="inside">' . "\n"; 999 999 call_user_func($box['callback'], $object, $box); 1000 1000 echo "</div>\n";