From f627138361d5db458bf32cfe934598e0c1d4388e Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 12 Apr 2019 20:43:40 +0000 Subject: [PATCH] Privacy: Remove unnecessary translation from help notice action label. As static markup, the Privacy Policy editor help notice link no longer needs to be translateable with the revisions included in [45174]. Props garrett-eclipse. Fixes #46098. See [45174]. git-svn-id: https://develop.svn.wordpress.org/trunk@45180 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/misc.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index 44045a47f3..b14aad3b24 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -1665,16 +1665,11 @@ final class WP_Privacy_Policy_Content { %3$s%4$s' ), + ' %s %s', $url, - 'target="_blank"', $label, - sprintf( - ' %s', - /* translators: accessibility text */ - __( '(opens in a new tab)' ) - ) + /* translators: accessibility text */ + __( '(opens in a new tab)' ) ); ?>