From 4379d2ff69262c3270fd907a651af466d60b904e Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Mon, 5 Jun 2017 11:59:51 +0000 Subject: [PATCH] Dashboard: Better titles for the Recent Drafts widget. - changes "Drafts" to "Your Recent Drafts" to clarify displayed drafts are the ones from the current user - clarifies and simplifies the "View all" link Props soniakash, sudar, bhargavbhandari90, zachwtx, johnroper100, rcutmore. Fixes #37595. git-svn-id: https://develop.svn.wordpress.org/trunk@40877 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/dashboard.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 51a001d780..3832bd81e5 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -48,7 +48,7 @@ function wp_dashboard_setup() { // QuickPress Widget if ( is_blog_admin() && current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) { - $quick_draft_title = sprintf( '%1$s %2$s', __( 'Quick Draft' ), __( 'Drafts' ) ); + $quick_draft_title = sprintf( '%1$s %2$s', __( 'Quick Draft' ), __( 'Your Recent Drafts' ) ); wp_add_dashboard_widget( 'dashboard_quick_press', $quick_draft_title, 'wp_dashboard_quick_press' ); } @@ -565,9 +565,9 @@ function wp_dashboard_recent_drafts( $drafts = false ) { echo '
'; if ( count( $drafts ) > 3 ) { - echo '

' . _x( 'View all', 'drafts' ) . "

\n"; + echo '

' . __( 'View all drafts' ) . "

\n"; } - echo '

' . __( 'Drafts' ) . "

\n