From 76ade1b21de703b53f373e9787981073e5584720 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Tue, 24 May 2016 21:22:28 +0000 Subject: [PATCH] Dashboard: Improve grammar for WordPress News help text. Also, move planet URL to a separate string to match the URL which is used for the feed. Props ramiy for initial patch. Fixes #35681. Built from https://develop.svn.wordpress.org/trunk@37553 git-svn-id: http://core.svn.wordpress.org/trunk@37521 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/index.php | 12 ++++++++++-- wp-includes/version.php | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index 40e74bb273..adbfe25ccd 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -69,9 +69,17 @@ if ( current_user_can( 'edit_posts' ) ) if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) $help .= '

' . __( "Quick Draft — Allows you to create a new post and save it as a draft. Also displays links to the 5 most recent draft posts you've started." ) . '

'; if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) - $help .= '

' . __( 'WordPress News — Latest news from the official WordPress project, the WordPress Planet, and popular and recent plugins.' ) . '

'; + $help .= '

' . sprintf( + /* translators: %s: WordPress Planet URL */ + __( 'WordPress News — Latest news from the official WordPress project, the WordPress Planet, and popular plugins.' ), + __( 'https://planet.wordpress.org/' ) + ) . '

'; else - $help .= '

' . __( 'WordPress News — Latest news from the official WordPress project, the WordPress Planet.' ) . '

'; + $help .= '

' . sprintf( + /* translators: %s: WordPress Planet URL */ + __( 'WordPress News — Latest news from the official WordPress project and the WordPress Planet.' ), + __( 'https://planet.wordpress.org/' ) + ) . '

'; if ( current_user_can( 'edit_theme_options' ) ) $help .= '

' . __( 'Welcome — Shows links for some of the most common tasks when setting up a new site.' ) . '

'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 879e2bdb23..fe9e1a34af 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37552'; +$wp_version = '4.6-alpha-37553'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.