From d4949e31beb4324096ec3d03e77963e8bb5da87b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 15 Jun 2017 11:51:39 +0000 Subject: [PATCH] I18N: Add context for News blog URL in 'WordPress Events and News' dashboard widget. Props zodiac1978. Fixes #40929. git-svn-id: https://develop.svn.wordpress.org/trunk@40905 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/dashboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 3832bd81e5..55499c074a 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -1114,7 +1114,7 @@ function wp_dashboard_events_news() { printf( '%2$s %3$s', /* translators: If a Rosetta site exists (e.g. https://es.wordpress.org/news/), then use that. Otherwise, leave untranslated. */ - esc_url( __( 'https://wordpress.org/news/' ) ), + esc_url( _x( 'https://wordpress.org/news/', 'Events and News dashboard widget' ) ), __( 'News' ), /* translators: accessibility text */ __( '(opens in a new window)' )