Ticket #33558: 33558.5.patch
File 33558.5.patch, 8.0 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/common.css
564 564 margin: 10px 20px 0 2px; 565 565 } 566 566 567 .wrap > h2:first-child, /* Back-compat for old plugins */ 568 .wrap h1, 569 .subtitle { 570 font-weight: normal; 571 margin: 0; 572 } 573 574 .wrap > h2:first-child, /* Back-compat for old plugins */ 567 .wrap > h2:first-child, /* Back-compat for pre-4.4 */ 568 .wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ 569 .postbox .inside h2, /* Back-compat for pre-4.4 */ 575 570 .wrap h1 { 576 571 font-size: 23px; 577 572 font-weight: 400; 573 margin: 0; 578 574 padding: 9px 15px 4px 0; 579 575 line-height: 29px; 580 576 } 581 577 582 578 .subtitle { 579 margin: 0; 580 padding-left: 25px; 583 581 color: #777; 584 582 font-size: 14px; 585 padding-left: 25px;583 font-weight: normal; 586 584 } 587 585 588 586 .wrap .add-new-h2, /* deprecated */ … … 2058 2056 margin-right: 190px; 2059 2057 } 2060 2058 2061 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */2062 2059 .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ 2063 2060 .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ 2064 .metabox-holder h2 { 2061 .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ 2062 .metabox-holder h2.hndle { 2065 2063 font-size: 14px; 2066 2064 padding: 8px 12px; 2067 2065 margin: 0; -
src/wp-admin/css/dashboard.css
115 115 line-height: 2.1em; 116 116 } 117 117 118 .welcome-panel h 3{118 .welcome-panel h2 { 119 119 margin: 0; 120 120 font-size: 21px; 121 121 font-weight: normal; … … 122 122 line-height: 1.2; 123 123 } 124 124 125 .welcome-panel h 4{125 .welcome-panel h3 { 126 126 margin: 1.33em 0 0; 127 127 font-size: 16px; 128 128 } … … 360 360 overflow: hidden; 361 361 } 362 362 363 #dashboard-widgets h4.mu-storage { 364 margin-bottom: 10px; 363 #dashboard-widgets h3.mu-storage { 364 margin: 0 0 10px; 365 padding: 0; 366 font-size: 14px; 367 font-weight: normal; 365 368 } 366 369 367 370 /* Dashboard right now - Colors */ … … 378 381 padding: 10px 12px 6px 12px; 379 382 } 380 383 381 #dashboard_right_now .sub h 4{384 #dashboard_right_now .sub h3 { 382 385 color: #555; 383 386 } 384 387 … … 537 540 border: none; 538 541 } 539 542 540 #dashboard_quick_press .drafts h4 {541 margin: 0 12px 8px;542 font-weight: normal;543 }544 545 543 #dashboard_quick_press .drafts .view-all { 546 544 float: right; 547 545 margin: 0 12px 0 0; … … 576 574 margin: 0 5px 0 0; 577 575 } 578 576 579 /* Dashboard activity widget*/577 /* Dashboard common styles */ 580 578 581 #dashboard-widgets #dashboard_activity h4 { 582 margin: 0 0 8px 12px; 579 #dashboard-widgets h4, /* Back-compat for pre-4.4 */ 580 #dashboard-widgets h3, 581 #dashboard_quick_press .drafts h2 { 582 margin: 0 12px 8px; 583 padding: 0; 584 font-size: 14px; 583 585 font-weight: normal; 586 color: #23282d; 584 587 } 585 588 586 #dashboard-widgets #dashboard_activity h4.comment-meta { 587 margin: 0; 589 #dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */ 590 #dashboard-widgets .inside h3 { 591 margin-left: 0; 592 margin-right: 0; 588 593 } 589 594 590 #dashboard_activity h4.comment-meta { 591 margin-bottom: 4px; 592 } 595 /* Dashboard activity widget */ 593 596 594 597 #dashboard_activity ul { 595 598 padding: 0 12px; … … 708 711 margin: 1em 0; 709 712 } 710 713 711 #activity-widget #the-comment-list .comment-item h4 {712 font-size: 13px;713 color: #999;714 }715 716 714 #activity-widget #the-comment-list .comment-item p.row-actions { 717 715 margin: 4px 0 0 0; 718 716 } … … 794 792 right: 33px; 795 793 } 796 794 797 #dashboard-widgets h4 {798 color: #23282d;799 font-weight: normal;800 font-size: 14px;801 margin: 0 0 .2em;802 padding: 0;803 }804 805 795 #dashboard_plugins h5 { 806 796 font-size: 14px; 807 797 } … … 834 824 border-top: none; 835 825 } 836 826 837 #latest-comments #the-comment-list .comment- item h4{827 #latest-comments #the-comment-list .comment-meta { 838 828 line-height: 1.5em; 839 margin -top: 0;829 margin: 0; 840 830 color: #666; 841 831 } 842 832 843 #latest-comments #the-comment-list .comment- item h4cite {833 #latest-comments #the-comment-list .comment-meta cite { 844 834 font-style: normal; 845 835 font-weight: normal; 846 836 } -
src/wp-admin/includes/dashboard.php
540 540 541 541 echo '<div class="drafts">'; 542 542 if ( count( $drafts ) > 3 ) { 543 echo '<p class="view-all"><a href="' . esc_url( admin_url( 'edit.php?post_status=draft' ) ) . '" >' . _x( 'View all', 'drafts' ) . "</a></p>\n";543 echo '<p class="view-all"><a href="' . esc_url( admin_url( 'edit.php?post_status=draft' ) ) . '" aria-label="' . __( 'View all drafts' ) . '">' . _x( 'View all', 'drafts' ) . "</a></p>\n"; 544 544 } 545 echo '<h 4 class="hide-if-no-js">' . __( 'Drafts' ) . "</h4>\n<ul>";545 echo '<h2 class="hide-if-no-js">' . __( 'Drafts' ) . "</h2>\n<ul>"; 546 546 547 547 $drafts = array_slice( $drafts, 0, 3 ); 548 548 foreach ( $drafts as $draft ) { … … 648 648 <?php if ( !$comment->comment_type || 'comment' == $comment->comment_type ) : ?> 649 649 650 650 <div class="dashboard-comment-wrap has-row-actions"> 651 < h4class="comment-meta">651 <p class="comment-meta"> 652 652 <?php 653 653 if ( $comment_post_link ) { 654 654 printf( … … 667 667 ); 668 668 } 669 669 ?> 670 </ h4>670 </p> 671 671 672 672 <?php 673 673 else : … … 685 685 ?> 686 686 <div class="dashboard-comment-wrap has-row-actions"> 687 687 <?php /* translators: %1$s is type of comment, %2$s is link to the post */ ?> 688 < h4 class="comment-meta"><?php printf( _x( '%1$s on %2$s', 'dashboard' ), "<strong>$type</strong>", $comment_post_link ); ?></h4>688 <p class="comment-meta"><?php printf( _x( '%1$s on %2$s', 'dashboard' ), "<strong>$type</strong>", $comment_post_link ); ?></p> 689 689 <p class="comment-author"><?php comment_author_link( $comment ); ?></p> 690 690 691 691 <?php endif; // comment_type ?> … … 775 775 776 776 echo '<div id="' . $args['id'] . '" class="activity-block">'; 777 777 778 echo '<h 4>' . $args['title'] . '</h4>';778 echo '<h3>' . $args['title'] . '</h3>'; 779 779 780 780 echo '<ul>'; 781 781 … … 854 854 855 855 if ( $comments ) { 856 856 echo '<div id="latest-comments" class="activity-block">'; 857 echo '<h 4>' . __( 'Comments' ) . '</h4>';857 echo '<h3>' . __( 'Comments' ) . '</h3>'; 858 858 859 859 echo '<div id="the-comment-list" data-wp-lists="list:comment">'; 860 860 foreach ( $comments as $comment ) … … 1224 1224 $percentused = number_format( $percentused ); 1225 1225 1226 1226 ?> 1227 <h 4 class="mu-storage"><?php _e( 'Storage Space' ); ?></h4>1227 <h3 class="mu-storage"><?php _e( 'Storage Space' ); ?></h3> 1228 1228 <div class="mu-storage"> 1229 1229 <ul> 1230 1230 <li class="storage-count"> … … 1378 1378 function wp_welcome_panel() { 1379 1379 ?> 1380 1380 <div class="welcome-panel-content"> 1381 <h 3><?php _e( 'Welcome to WordPress!' ); ?></h3>1381 <h2><?php _e( 'Welcome to WordPress!' ); ?></h2> 1382 1382 <p class="about-description"><?php _e( 'We’ve assembled some links to get you started:' ); ?></p> 1383 1383 <div class="welcome-panel-column-container"> 1384 1384 <div class="welcome-panel-column"> 1385 1385 <?php if ( current_user_can( 'customize' ) ): ?> 1386 <h 4><?php _e( 'Get Started' ); ?></h4>1386 <h3><?php _e( 'Get Started' ); ?></h3> 1387 1387 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo wp_customize_url(); ?>"><?php _e( 'Customize Your Site' ); ?></a> 1388 1388 <?php endif; ?> 1389 1389 <a class="button button-primary button-hero hide-if-customize" href="<?php echo admin_url( 'themes.php' ); ?>"><?php _e( 'Customize Your Site' ); ?></a> … … 1392 1392 <?php endif; ?> 1393 1393 </div> 1394 1394 <div class="welcome-panel-column"> 1395 <h 4><?php _e( 'Next Steps' ); ?></h4>1395 <h3><?php _e( 'Next Steps' ); ?></h3> 1396 1396 <ul> 1397 1397 <?php if ( 'page' == get_option( 'show_on_front' ) && ! get_option( 'page_for_posts' ) ) : ?> 1398 1398 <li><?php printf( '<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Edit your front page' ) . '</a>', get_edit_post_link( get_option( 'page_on_front' ) ) ); ?></li> … … 1409 1409 </ul> 1410 1410 </div> 1411 1411 <div class="welcome-panel-column welcome-panel-last"> 1412 <h 4><?php _e( 'More Actions' ); ?></h4>1412 <h3><?php _e( 'More Actions' ); ?></h3> 1413 1413 <ul> 1414 1414 <?php if ( current_theme_supports( 'widgets' ) || current_theme_supports( 'menus' ) ) : ?> 1415 1415 <li><div class="welcome-icon welcome-widgets-menus"><?php