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. Built from https://develop.svn.wordpress.org/trunk@44492 git-svn-id: http://core.svn.wordpress.org/trunk@44323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
53e40b7fda
commit
099238e3a3
|
@ -165,11 +165,14 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</strong></p>
|
</strong></p>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
|
|
||||||
printf(
|
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.' ),
|
__( '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' ),
|
admin_url( 'tools.php?wp-privacy-policy-guide' ),
|
||||||
'',
|
'',
|
||||||
|
@ -178,9 +181,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<hr>
|
<hr>
|
||||||
<table class="form-table tools-privacy-policy-page">
|
<table class="form-table tools-privacy-policy-page">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-alpha-44491';
|
$wp_version = '5.1-alpha-44492';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue