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:
Sergey Biryukov 2019-02-28 12:08:49 +00:00
parent cfc9a60243
commit e57fcaeeee
3 changed files with 3 additions and 3 deletions

View File

@ -1644,7 +1644,7 @@ final class WP_Privacy_Policy_Content {
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
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.' ),
admin_url( 'tools.php?wp-privacy-policy-guide=1' ),
esc_url( admin_url( 'tools.php?wp-privacy-policy-guide=1' ) ),
'target="_blank"',
sprintf(
'<span class="screen-reader-text"> %s</span>',

View File

@ -182,7 +182,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
printf(
/* 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.' ),
admin_url( 'tools.php?wp-privacy-policy-guide' ),
esc_url( admin_url( 'tools.php?wp-privacy-policy-guide' ) ),
'',
''
);

View File

@ -13,7 +13,7 @@
*
* @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.