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].

Built from https://develop.svn.wordpress.org/trunk@45180


git-svn-id: http://core.svn.wordpress.org/trunk@44989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
aduth 2019-04-12 20:44:52 +00:00
parent 7e4b4e1089
commit 41022dc6f2
2 changed files with 4 additions and 9 deletions

View File

@ -1665,16 +1665,11 @@ final class WP_Privacy_Policy_Content {
<?php
echo $message;
printf(
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: link text 4: accessibility text */
__( ' <a href="%1$s" %2$s>%3$s%4$s</a>' ),
' <a href="%s" target="_blank">%s <span class="screen-reader-text">%s</span></a>',
$url,
'target="_blank"',
$label,
sprintf(
'<span class="screen-reader-text"> %s</span>',
/* translators: accessibility text */
__( '(opens in a new tab)' )
)
/* translators: accessibility text */
__( '(opens in a new tab)' )
);
?>
</p>

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2-beta2-45179';
$wp_version = '5.2-beta2-45180';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.