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

Props birgire, azaozz.
Fixes #44057.

git-svn-id: https://develop.svn.wordpress.org/trunk@43263 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2018-05-14 16:20:53 +00:00
parent 8288241045
commit 3ef1d8a2c9
1 changed files with 5 additions and 1 deletions

View File

@ -1398,7 +1398,11 @@ final class WP_Privacy_Policy_Content {
?>
<div class="policy-text-updated notice notice-warning">
<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>
</div>
<?php