Changeset 35414 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 10/28/2015 05:56:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r35282 r35414 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 ); … … 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 ) { … … 668 668 } 669 669 ?> 670 </ h4>670 </p> 671 671 672 672 <?php … … 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 … … 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>'; … … 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">'; … … 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> … … 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; ?> … … 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' ) ) : ?> … … 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' ) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.