diff --git src/wp-admin/includes/dashboard.php src/wp-admin/includes/dashboard.php
index 51a001d..f0dd65a 100644
|
|
function wp_dashboard_setup() { |
48 | 48 | |
49 | 49 | // QuickPress Widget |
50 | 50 | if ( is_blog_admin() && current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) { |
51 | | $quick_draft_title = sprintf( '<span class="hide-if-no-js">%1$s</span> <span class="hide-if-js">%2$s</span>', __( 'Quick Draft' ), __( 'Drafts' ) ); |
| 51 | $quick_draft_title = sprintf( '<span class="hide-if-no-js">%1$s</span> <span class="hide-if-js">%2$s</span>', __( 'Quick Draft' ), __( 'Your Recent Drafts' ) ); |
52 | 52 | wp_add_dashboard_widget( 'dashboard_quick_press', $quick_draft_title, 'wp_dashboard_quick_press' ); |
53 | 53 | } |
54 | 54 | |
… |
… |
function wp_dashboard_recent_drafts( $drafts = false ) { |
565 | 565 | |
566 | 566 | echo '<div class="drafts">'; |
567 | 567 | if ( count( $drafts ) > 3 ) { |
568 | | 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"; |
| 568 | echo '<p class="view-all"><a href="' . esc_url( admin_url( 'edit.php?post_status=draft' ) ) . '">' . _x( 'View all drafts', 'drafts' ) . "</a></p>\n"; |
569 | 569 | } |
570 | | echo '<h2 class="hide-if-no-js">' . __( 'Drafts' ) . "</h2>\n<ul>"; |
| 570 | echo '<h2 class="hide-if-no-js">' . __( 'Your Recent Drafts' ) . "</h2>\n<ul>"; |
571 | 571 | |
572 | 572 | $drafts = array_slice( $drafts, 0, 3 ); |
573 | 573 | foreach ( $drafts as $draft ) { |