Privacy: fix the "Privacy Policy Guide updated" message and add a link to the guide.

Props birgire, azaozz.
Fixes #44057.
Built from https://develop.svn.wordpress.org/trunk@43263


git-svn-id: http://core.svn.wordpress.org/trunk@43092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2018-05-14 16:21:21 +00:00
parent 2d4311e32e
commit b5564c8646
2 changed files with 6 additions and 2 deletions

View File

@ -1398,7 +1398,11 @@ final class WP_Privacy_Policy_Content {
?> ?>
<div class="policy-text-updated notice notice-warning"> <div class="policy-text-updated notice notice-warning">
<p><?php <p><?php
_e( 'The suggested privacy policy text has changed. Please update your privacy policy.' ); printf(
/* translators: %s: Privacy Policy Guide URL */
__( 'The suggested privacy policy text has changed. Please <a href="%s">review the guide</a> and update your privacy policy.' ),
esc_url( admin_url( 'tools.php?wp-privacy-policy-guide=1' ) )
);
?></p> ?></p>
</div> </div>
<?php <?php

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-43261'; $wp_version = '5.0-alpha-43263';
/** /**
* 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.