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
This commit is contained in:
parent
bd9b25afbb
commit
47e6c2f9ec
|
@ -1555,9 +1555,17 @@ final class WP_Privacy_Policy_Content {
|
||||||
<div class="notice notice-warning inline wp-pp-notice">
|
<div class="notice notice-warning inline wp-pp-notice">
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
|
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
|
||||||
printf(
|
printf(
|
||||||
__( 'Need help putting together your new Privacy Policy page? %s for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
|
__( 'Need help putting together your new Privacy Policy page? <a href="%1$s" %2$s>Check out our guide%3$s</a> for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
|
||||||
'<a href="' . admin_url( 'tools.php?wp-privacy-policy-guide=1' ) . '" target="_blank">' . __( 'Check out our guide' ) . '</a>' );
|
admin_url( 'tools.php?wp-privacy-policy-guide=1' ),
|
||||||
|
'target="_blank"',
|
||||||
|
sprintf(
|
||||||
|
'<span class="screen-reader-text"> %s</span>',
|
||||||
|
/* translators: accessibility text */
|
||||||
|
__( '(opens in a new tab)' )
|
||||||
|
)
|
||||||
|
);
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -141,9 +141,12 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
|
||||||
printf(
|
printf(
|
||||||
__( 'Need help putting together your new Privacy Policy page? %s for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
|
__( 'Need help putting together your new Privacy Policy page? <a href="%1$s" %2$s>Check out our guide%3$s</a> for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
|
||||||
'<a href="' . admin_url( 'tools.php?wp-privacy-policy-guide' ) . '">' . __( 'Check out our guide' ) . '</a>'
|
admin_url( 'tools.php?wp-privacy-policy-guide' ),
|
||||||
|
'',
|
||||||
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue