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
This commit is contained in:
parent
6627bc4967
commit
f627138361
@ -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)' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user