mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
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">
|
||||
<p>
|
||||
<?php
|
||||
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
|
||||
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.' ),
|
||||
'<a href="' . admin_url( 'tools.php?wp-privacy-policy-guide=1' ) . '" target="_blank">' . __( 'Check out our guide' ) . '</a>' );
|
||||
__( '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.' ),
|
||||
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>
|
||||
</div>
|
||||
|
@ -141,9 +141,12 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<p>
|
||||
<?php
|
||||
|
||||
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
|
||||
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.' ),
|
||||
'<a href="' . admin_url( 'tools.php?wp-privacy-policy-guide' ) . '">' . __( 'Check out our guide' ) . '</a>'
|
||||
__( '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.' ),
|
||||
admin_url( 'tools.php?wp-privacy-policy-guide' ),
|
||||
'',
|
||||
''
|
||||
);
|
||||
|
||||
?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user