mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Privacy: exclude the wrapper from the default policy content.
Props azaozz. Merges [43242] to the 4.9 branch. Fixes #44048. git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43255 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2bf0e98f60
commit
0b266d74dc
@ -1642,10 +1642,12 @@ final class WP_Privacy_Policy_Content {
|
||||
*/
|
||||
public static function get_default_content( $descr = false ) {
|
||||
$suggested_text = $descr ? '<strong class="privacy-policy-tutorial">' . __( 'Suggested text:' ) . ' </strong>' : '';
|
||||
$content = '';
|
||||
|
||||
// Start of the suggested privacy policy text.
|
||||
$content =
|
||||
'<div class="wp-suggested-text">' .
|
||||
$descr && $content .=
|
||||
'<div class="wp-suggested-text">';
|
||||
$content .=
|
||||
'<h2>' . __( 'Who we are' ) . '</h2>';
|
||||
$descr && $content .=
|
||||
'<p class="privacy-policy-tutorial">' . __( 'In this section you should note your site URL, as well as the name of the company, organization, or individual behind it, and some accurate contact information.' ) . '</p>' .
|
||||
@ -1758,8 +1760,7 @@ final class WP_Privacy_Policy_Content {
|
||||
$content .=
|
||||
'<h3>' . __( 'Industry regulatory disclosure requirements' ) . '</h3>';
|
||||
$descr && $content .=
|
||||
'<p class="privacy-policy-tutorial">' . __( 'If you are a member of a regulated industry, or if you are subject to additional privacy laws, you may be required to disclose that information here.' ) . '</p>';
|
||||
$content .=
|
||||
'<p class="privacy-policy-tutorial">' . __( 'If you are a member of a regulated industry, or if you are subject to additional privacy laws, you may be required to disclose that information here.' ) . '</p>' .
|
||||
'</div>';
|
||||
// End of the suggested privacy policy text.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user