Privacy: Always show the privacy policy guide.

Previously, the link to the privacy policy guide would only be displayed when a privacy policy page had been selected, but the guide is generally useful without that.

Props mukesh27, birgire.
Fixes #44871.



git-svn-id: https://develop.svn.wordpress.org/trunk@44492 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2019-01-09 04:00:10 +00:00
parent 37b849714f
commit 1c6336c881

View File

@ -165,22 +165,23 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
?>
</strong></p>
<p>
<?php
/* 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' ),
'',
''
);
?>
</p>
<?php
}
?>
<p>
<?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' ),
'',
''
);
?>
</p>
<hr>
<table class="form-table tools-privacy-policy-page">
<tr>