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

Props birgire, azaozz.
Merges [43263] to the 4.9 branch.
Fixes #44057.
Built from https://develop.svn.wordpress.org/branches/4.9@43264


git-svn-id: http://core.svn.wordpress.org/branches/4.9@43093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2018-05-14 16:25:28 +00:00
parent 70eb518623
commit 77d526e000
2 changed files with 6 additions and 2 deletions

View File

@ -1351,7 +1351,11 @@ final class WP_Privacy_Policy_Content {
?> ?>
<div class="policy-text-updated notice notice-warning is-dismissible"> <div class="policy-text-updated notice notice-warning is-dismissible">
<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 = '4.9.6-RC1-43262'; $wp_version = '4.9.6-RC1-43264';
/** /**
* 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.