Privacy: Escape Privacy Policy guide URL in in Privacy Policy edit page notice.
Props itowhid06, garrett-eclipse. Fixes #44761. Built from https://develop.svn.wordpress.org/trunk@44779 git-svn-id: http://core.svn.wordpress.org/trunk@44611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cfc9a60243
commit
e57fcaeeee
|
@ -1644,7 +1644,7 @@ final class WP_Privacy_Policy_Content {
|
||||||
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
|
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
|
||||||
printf(
|
printf(
|
||||||
__( '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.' ),
|
__( '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' ),
|
esc_url( admin_url( 'tools.php?wp-privacy-policy-guide=1' ) ),
|
||||||
'target="_blank"',
|
'target="_blank"',
|
||||||
sprintf(
|
sprintf(
|
||||||
'<span class="screen-reader-text"> %s</span>',
|
'<span class="screen-reader-text"> %s</span>',
|
||||||
|
|
|
@ -182,7 +182,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
printf(
|
printf(
|
||||||
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
|
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
|
||||||
__( '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.' ),
|
__( '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' ),
|
esc_url( admin_url( 'tools.php?wp-privacy-policy-guide' ) ),
|
||||||
'',
|
'',
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-alpha-44778';
|
$wp_version = '5.2-alpha-44779';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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