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

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.