From 1d34043e8cd2eead37048bc8aed379d57ff32408 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Mon, 5 Jun 2017 12:00:43 +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. Built from https://develop.svn.wordpress.org/trunk@40877 git-svn-id: http://core.svn.wordpress.org/trunk@40727 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 51a001d780..3832bd81e5 100644 --- a/wp-admin/includes/dashboard.php +++ b/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