From 47e6c2f9ec5638fbe80214a18764b64c9dea9cf9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 9 May 2018 23:12:21 +0000 Subject: [PATCH] Privacy: Make the help hint for Privacy Policy page more translatable and accessible. Props tobifjellner. See #43980. Built from https://develop.svn.wordpress.org/trunk@43206 git-svn-id: http://core.svn.wordpress.org/trunk@43035 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/misc.php | 12 ++++++++++-- wp-admin/privacy.php | 7 +++++-- wp-includes/version.php | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index f68067dc09..ff8e78a98e 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -1555,9 +1555,17 @@ final class WP_Privacy_Policy_Content {

' . __( 'Check out our guide' ) . '' ); + __( 'Need help putting together your new Privacy Policy page? Check out our guide%3$s for recommendations on what content to include, along with policies suggested by your plugins and theme.' ), + admin_url( 'tools.php?wp-privacy-policy-guide=1' ), + 'target="_blank"', + sprintf( + ' %s', + /* translators: accessibility text */ + __( '(opens in a new tab)' ) + ) + ); ?>

diff --git a/wp-admin/privacy.php b/wp-admin/privacy.php index d846030224..41d2d4c1d1 100644 --- a/wp-admin/privacy.php +++ b/wp-admin/privacy.php @@ -141,9 +141,12 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );

' . __( 'Check out our guide' ) . '' + __( 'Need help putting together your new Privacy Policy page? Check out our guide%3$s for recommendations on what content to include, along with policies suggested by your plugins and theme.' ), + admin_url( 'tools.php?wp-privacy-policy-guide' ), + '', + '' ); ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index a4d502f933..54a2465c9f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43205'; +$wp_version = '5.0-alpha-43206'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.