WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/08/2018 11:44:57 PM (3 years ago)
Author:
azaozz
Message:

Privacy: outputting the privacy policy guide and suggested content to a new page instead of a postbox.

Props melchoyce, azaozz.
See #43980.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r43170 r43184  
    14441444    public static function get_suggested_policy_text() {
    14451445        $policy_page_id = (int) get_option( 'wp_page_for_privacy_policy' );
    1446         $new = self::$policy_content;
    1447         $old = (array) get_post_meta( $policy_page_id, '_wp_suggested_privacy_policy_content' );
    14481446        $checked = array();
    14491447        $time = time();
    14501448        $update_cache = false;
     1449        $new = self::$policy_content;
     1450        $old = array();
     1451
     1452        if ( $policy_page_id ) {
     1453            $old = (array) get_post_meta( $policy_page_id, '_wp_suggested_privacy_policy_content' );
     1454        }
    14511455
    14521456        // Check for no-changes and updates.
     
    15141518        }
    15151519
    1516         if ( $update_cache ) {
     1520        if ( $update_cache && $policy_page_id ) {
    15171521            delete_post_meta( $policy_page_id, '_wp_suggested_privacy_policy_content' );
    15181522            // Update the cache.
     
    15221526        }
    15231527
    1524         // Stop checking for changes after the postbox has been loaded.
    1525         // TODO make this user removable?
     1528        // Stop checking for changes after the page has been loaded.
    15261529        if ( get_option( '_wp_privacy_text_change_check' ) !== 'no-check' ) {
    15271530            update_option( '_wp_privacy_text_change_check', 'no-check' );
     
    15321535
    15331536    /**
    1534      * Output the postbox when editing the privacy policy page
     1537     * Add a notice with a link to the guide when editing the privacy policy page.
    15351538     *
    15361539     * @since 4.9.6
     
    15381541     * @param $post WP_Post The currently edited post.
    15391542     */
    1540     public static function privacy_policy_postbox( $post ) {
     1543    public static function notice( $post ) {
    15411544        if ( ! ( $post instanceof WP_Post ) ) {
    15421545            return;
     
    15491552        }
    15501553
     1554        ?>
     1555        <div class="notice notice-warning inline wp-pp-notice">
     1556            <p>
     1557            <?php
     1558            printf(
     1559                __( 'Need help putting together your new Privacy Policy page? %s for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
     1560                '<a href="' . admin_url( 'privacy.php?wp-suggested-policy-content=1' ) . '" target="_blank">' . __( 'Check out our guide' ) . '</a>' );
     1561            ?>
     1562            </p>
     1563        </div>
     1564        <?php
     1565
     1566    }
     1567
     1568    /**
     1569     * Output the privacy policy guide together with content from the theme and plugins.
     1570     *
     1571     * @since 4.9.6
     1572     */
     1573    public static function privacy_policy_guide() {
     1574
    15511575        $content_array = self::get_suggested_policy_text();
    15521576
    15531577        $content = '';
     1578        $toc = array( '<li><a href="#">' . __( 'Introduction' ) . '</a></li>' );
    15541579        $date_format = get_option( 'date_format' );
    15551580        $copy = __( 'Copy' );
    1556         $more = __( 'Read More' );
    1557         $less = __( 'Read Less' );
    1558         $folded = ( count( $content_array ) > 1 ) ? ' folded' : '';
     1581        $return_to_top = '<a href="#" class="return-to-top">' . __( '&uarr; Return to Top' ) . '</a>';
    15591582
    15601583        foreach ( $content_array as $section ) {
     
    15641587                $class = ' text-removed';
    15651588                $date = date_i18n( $date_format, $section['removed'] );
    1566                 $meta  = sprintf( __( 'Policy text removed %s.' ), $date );
     1589                $meta  = sprintf( __( 'Removed %s.' ), $date );
    15671590            } elseif ( ! empty( $section['updated'] ) ) {
    15681591                $class = ' text-updated';
    15691592                $date = date_i18n( $date_format, $section['updated'] );
    1570                 $meta  = sprintf( __( 'Policy text last updated %s.' ), $date );
    1571             } elseif ( ! empty( $section['added'] ) ) {
    1572                 $class = ' text-added';
    1573                 $date = date_i18n( $date_format, $section['added'] );
    1574                 $meta  = sprintf( __( 'Policy text added %s.' ), $date );
     1593                $meta  = sprintf( __( 'Updated %s.' ), $date );
     1594            }
     1595
     1596            if ( $meta ) {
     1597                $meta = '<br><span class="privacy-text-meta">' . $meta . '</span>';
    15751598            }
    15761599
    15771600            $plugin_name = esc_html( $section['plugin_name'] );
    1578 
    1579             $content .= '<div class="privacy-text-section' . $folded . $class . '">';
    1580             $content .= '<h3>' . $plugin_name . '</h3>';
    1581 
    1582             if ( ! empty( $meta ) ) {
    1583                 $content .= '<span class="privacy-text-meta">' . $meta . '</span>';
    1584             }
    1585 
    1586             $content .= '<div class="policy-text" aria-expanded="false">' . $section['policy_text'] . '</div>';
    1587 
    1588             $content .= '<div class="privacy-text-actions">';
    1589                 if ( $folded ) {
    1590                     $content .= '<button type="button" class="button-link policy-text-more">';
    1591                         $content .= $more;
    1592                         $content .= '<span class="screen-reader-text">' . sprintf( __( 'Expand suggested policy text section from %s.' ), $plugin_name ) . '</span>';
    1593                     $content .= '</button>';
    1594 
    1595                     $content .= '<button type="button" class="button-link policy-text-less">';
    1596                         $content .= $less;
    1597                         $content .= '<span class="screen-reader-text">' . sprintf( __( 'Collapse suggested policy text section from %s.' ), $plugin_name ) . '</span>';
    1598                     $content .= '</button>';
    1599                 }
    1600 
    1601                 if ( empty( $section['removed'] ) ) {
     1601            $toc_id = sanitize_title( $plugin_name );
     1602            $toc[] = sprintf( '<li><a href="#%1$s">%2$s</a>' . $meta . '</li>', $toc_id, $plugin_name );
     1603
     1604            $content .= '<div class="privacy-text-section' . $class . '">';
     1605            $content .= '<h2>' . sprintf( __( 'Source: %s' ), $plugin_name ) . '</h2>';
     1606            $content .= '<a id="' . $toc_id . '"></a>';
     1607
     1608            $content .= '<div class="policy-text">' . $section['policy_text'] . '</div>';
     1609            $content .= $return_to_top;
     1610
     1611            if ( empty( $section['removed'] ) ) {
     1612                $content .= '<div class="privacy-text-actions">';
    16021613                    $content .= '<button type="button" class="privacy-text-copy button">';
    16031614                        $content .= $copy;
    16041615                        $content .= '<span class="screen-reader-text">' . sprintf( __( 'Copy suggested policy text from %s.' ), $plugin_name ) . '</span>';
    16051616                    $content .= '</button>';
    1606                 }
    1607 
    1608             $content .= '</div>'; // End of .privacy-text-actions.
     1617                $content .= '</div>';
     1618            }
     1619
    16091620            $content .= "</div>\n"; // End of .privacy-text-section.
    16101621        }
    16111622
     1623        if ( count( $toc ) > 2 ) {
     1624            ?>
     1625            <div  class="privacy-text-box-toc">
     1626                <p><?php _e( 'Table of Contents' ); ?></p>
     1627                <ol>
     1628                    <?php echo implode( "\n", $toc ); ?>
     1629                </ol>
     1630            </div>
     1631            <?php
     1632        }
     1633
    16121634        ?>
    1613         <div id="privacy-text-box" class="privacy-text-box postbox <?php echo postbox_classes( 'privacy-text-box', 'page' ); ?>">
    1614             <button type="button" class="handlediv" aria-expanded="true">
    1615                 <span class="screen-reader-text"><?php _e( 'Toggle panel: Suggested privacy policy text' ); ?></span>
    1616                 <span class="toggle-indicator" aria-hidden="true"></span>
    1617             </button>
    1618             <div class="privacy-text-box-head hndle">
    1619                 <h2><?php _e( 'This suggested privacy policy text comes from plugins and themes you have installed.' ); ?></h2>
    1620                 <p>
    1621                     <?php _e( 'We suggest reviewing this text then copying and pasting it into your privacy policy page.' ); ?>
    1622                     <?php _e( 'Please remember you are responsible for the policies you choose to adopt, so review the content and make any necessary edits.' ); ?>
    1623                 </p>
     1635        <div class="privacy-text-box">
     1636            <div class="privacy-text-box-head">
     1637                <h2><?php _e( 'Introduction' ); ?></h2>
     1638                <p><?php _e( 'Hello,' ); ?></p>
     1639                <p><?php _e( 'This text template will help you to create your web site&#8217;s privacy policy.' ); ?></p>
     1640                <p><?php _e( 'We have suggested the sections you will need. Under each section heading you will find a short summary of what information you should provide, which will help you to get started. Some sections include suggested policy content, others will have to be completed with information from your theme and plugins.' ); ?></p>
     1641                <p><?php _e( 'Please edit your privacy policy content, making sure to delete the summaries, and adding any information from your theme and plugins. Once you publish your policy page, remember to add it to your navigation menu.' ); ?></p>
     1642                <p><?php _e( 'It is your responsibility to write a comprehensive privacy policy, to make sure it reflects all national and international legal requirements on privacy, and to keep your policy current and accurate.' ); ?></p>
    16241643            </div>
    16251644
     
    16391658     */
    16401659    public static function get_default_content() {
     1660        $suggested_text = '<strong class="privacy-policy-tutorial">' . __( 'Suggested text:' ) . ' </strong>';
     1661
    16411662        // Start of the suggested privacy policy text.
    16421663        $content =
    1643             '<p class="wp-policy-help">' . __( 'Hello,' ) . '</p>' .
    1644             '<p class="wp-policy-help">' . __( 'This text template will help you to create your website&#8217;s privacy policy.' ) . '</p>' .
    1645             '<p class="wp-policy-help">' . __( 'We have suggested the sections you will need. Under each section heading you will find a short summary of what information you should provide, which will help you to get started.' ) . '</p>' .
    1646             '<p class="wp-policy-help">' . __( 'Please edit your privacy policy content, making sure to delete the summaries, and adding any information from your themes and plugins. Once you publish your policy page, remember to add it to your navigation menu.' ) . '</p>' .
    1647             '<p class="wp-policy-help">' . __( 'It is your responsibility to write a comprehensive privacy policy, to make sure it reflects all national and international legal requirements on privacy, and to keep your policy current and accurate.' ) . '</p>' .
    1648 
     1664            '<div class="wp-suggested-text">' .
    16491665            '<h2>' . __( 'Who we are' ) . '</h2>' .
    1650             '<p class="wp-policy-help">' . __( '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>' .
    1651             '<p class="wp-policy-help">' . __( 'The amount of information you may be required to show will vary depending on your local or national business regulations. You may, for example, be required to display a physical address, a registered address, or your company registration number.' ) . '</p>' .
     1666            '<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>' .
     1667            '<p class="privacy-policy-tutorial">' . __( 'The amount of information you may be required to show will vary depending on your local or national business regulations. You may, for example, be required to display a physical address, a registered address, or your company registration number.' ) . '</p>' .
     1668
    16521669            /* translators: %s Site URL */
    1653             '<p>' . sprintf( __( 'Our website address is: %s.' ), get_bloginfo( 'url', 'display' ) ) . '</p>' .
     1670            '<p>' . $suggested_text . sprintf( __( 'Our website address is: %s.' ), get_bloginfo( 'url', 'display' ) ) . '</p>' .
    16541671
    16551672            '<h2>' . __( 'What personal data we collect and why we collect it' ) . '</h2>' .
    1656             '<p class="wp-policy-help">' . __( 'In this section you should note what personal data you collect from users and site visitors. This may include transactional data, such as purchase information; technical data, such as information about cookies; and personal data, such as user account information.' ) . '</p>' .
    1657             '<p class="wp-policy-help">' . __( 'You must also note any collection and retention of sensitive personal data, such as data concerning health.' ) . '</p>' .
    1658             '<p class="wp-policy-help">' . __( 'In addition to listing what personal data you collect, you need to note why you collect it. These explanations must note either the legal basis for your data collection and retention or the active consent the user has given.' ) . '</p>' .
    1659             '<p class="wp-policy-help">' . __( 'Personal data is not just created by a user&#8217;s interactions with your site. Personal data is also generated from technical processes such as contact forms, comments, cookies, analytics, and third party embeds.' ) . '</p>' .
    1660             '<p class="wp-policy-help">' . __( 'By default WordPress does not collect any personal data about visitors, and only collects the data shown on the User Profile screen for registered users. However, some of your plugins may also collect personal data, add the relevant information below.' ) . '</p>' .
    1661             '<p>' . __( 'If you are a registered user and upload images to the website, you should avoid uploading images with EXIF GPS location data included. Visitors to the website can download and extract any location data from images on the website.' ) . '</p>' .
     1673            '<p class="privacy-policy-tutorial">' . __( 'In this section you should note what personal data you collect from users and site visitors. This may include personal data, such as name, email address, personal account preferences; transactional data, such as purchase information; and technical data, such as information about cookies.' ) . '</p>' .
     1674            '<p class="privacy-policy-tutorial">' . __( 'You should also note any collection and retention of sensitive personal data, such as data concerning health.' ) . '</p>' .
     1675            '<p class="privacy-policy-tutorial">' . __( 'In addition to listing what personal data you collect, you need to note why you collect it. These explanations must note either the legal basis for your data collection and retention or the active consent the user has given.' ) . '</p>' .
     1676            '<p class="privacy-policy-tutorial">' . __( 'Personal data is not just created by a user&#8217;s interactions with your site. Personal data is also generated from technical processes such as contact forms, comments, cookies, analytics, and third party embeds.' ) . '</p>' .
     1677            '<p class="privacy-policy-tutorial">' . __( 'By default WordPress does not collect any personal data about visitors, and only collects the data shown on the User Profile screen from registered users. However some of your plugins may collect personal data. You should add the relevant information below.' ) . '</p>' .
     1678
     1679            '<h3>' . __( 'Comments' ) . '</h3>' .
     1680            '<p class="privacy-policy-tutorial">' . __( 'In this subsection you should note what information is captured through comments. We have noted the data which WordPress collects by default.' ) . '</p>' .
     1681            '<p>' . $suggested_text . __( 'When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor&#8217;s IP address and browser user agent string to help spam detection.' ) . '</p>' .
     1682            '<p>' . __( 'An anonymized string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: https://automattic.com/privacy/. After approval of your comment, your profile picture is visible to the public in the context of your comment.' ) . '</p>' .
     1683
     1684            '<h3>' . __( 'Media' ) . '</h3>' .
     1685            '<p class="privacy-policy-tutorial">' . __( 'In this subsection you should note what information may be disclosed by users who can upload media files. All uploaded files are usually publicly accessible.' ) . '</p>' .
     1686            '<p>' . $suggested_text . __( 'If you upload images to the website, you should avoid uploading images with embedded location data (EXIF GPS) included. Visitors to the website can download and extract any location data from images on the website.' ) . '</p>' .
    16621687
    16631688            '<h3>' . __( 'Contact forms' ) . '</h3>' .
    1664             '<p class="wp-policy-help">' . __( 'By default, WordPress does not include a contact form. If you use a contact form plugin, use this subsection to note what personal data is captured when someone submits a contact form, and how long you keep it. For example, you may note that you keep contact form submissions for a certain period for customer service purposes, but you do not use the information submitted through them for marketing purposes.' ) . '</p>' .
    1665 
    1666             '<h3>' . __( 'Comments' ) . '</h3>' .
    1667             '<p class="wp-policy-help">' . __( 'In this subsection you should note what information is captured through comments.' ) . '</p>' .
    1668             '<p>' . __( 'When visitors leave comments on the website we collect the data shown in the comments form, and also the visitor&#8217;s IP address and browser user agent string to help spam detection.' ) . '</p>' .
    1669             '<p>' . __( 'An anonymized string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: https://automattic.com/privacy/. After approval of your comment, your profile picture is visible to the public in the context of your comment.' ) . '</p>' .
     1689            '<p class="privacy-policy-tutorial">' . __( 'By default, WordPress does not include a contact form. If you use a contact form plugin, use this subsection to note what personal data is captured when someone submits a contact form, and how long you keep it. For example, you may note that you keep contact form submissions for a certain period for customer service purposes, but you do not use the information submitted through them for marketing purposes.' ) . '</p>' .
    16701690
    16711691            '<h3>' . __( 'Cookies' ) . '</h3>' .
    1672             '<p class="wp-policy-help">' . __( 'In this subsection you should list the cookies your website uses, including those set by your plugins, social media, and analytics. We have provided the cookies which WordPress installs by default.' ) . '</p>' .
    1673             '<p>' . __( 'If you leave a comment on our site you may opt in to saving your name, email address, and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year.' ) . '</p>' .
     1692            '<p class="privacy-policy-tutorial">' . __( 'In this subsection you should list the cookies your web site uses, including those set by your plugins, social media, and analytics. We have provided the cookies which WordPress installs by default.' ) . '</p>' .
     1693            '<p>' . $suggested_text . __( 'If you leave a comment on our site you may opt-in to saving your name, email address and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year.' ) . '</p>' .
    16741694            '<p>' . __( 'If you have an account and you log in to this site, we will set a temporary cookie to determine if your browser accepts cookies. This cookie contains no personal data and is discarded when you close your browser.' ) . '</p>' .
    16751695            '<p>' . __( 'When you log in, we will also set up several cookies to save your login information and your screen display choices. Login cookies last for two days, and screen options cookies last for a year. If you select &quot;Remember Me&quot;, your login will persist for two weeks. If you log out of your account, the login cookies will be removed.' ) . '</p>' .
     
    16771697
    16781698            '<h3>' . __( 'Embedded content from other websites' ) . '</h3>' .
    1679             '<p>' . __( 'Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website.' ) . '</p>' .
    1680             '<p>' . __( 'These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.' ) . '</p>' .
     1699            '<p>' . $suggested_text . __( 'Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website.' ) . '</p>' .
     1700            '<p>' . __( 'These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracing your interaction with the embedded content if you have an account and are logged in to that website.' ) . '</p>' .
    16811701
    16821702            '<h3>' . __( 'Analytics' ) . '</h3>' .
    1683             '<p class="wp-policy-help">' . __( 'In this subsection you should note what analytics package you use, how users can opt out of analytics tracking, and a link to information on how your analytics provider conforms to European data protection law.' ) . '</p>' .
    1684             '<p class="wp-policy-help">' . __( 'By default WordPress does not collect any analytics data. However, many web hosting accounts collect some anonymous analytics data. You may also have installed a WordPress plugin that provides analytics services. In that case, add information from that plugin here.' ) . '</p>' .
     1703            '<p class="privacy-policy-tutorial">' . __( 'In this subsection you should note what analytics package you use, how users can opt out of analytics tracking, and a link to your analytics provider&#8217;s privacy policy, if any.' ) . '</p>' .
     1704            '<p class="privacy-policy-tutorial">' . __( 'By default WordPress does not collect any analytics data. However, many web hosting accounts collect some anonymous analytics data. You may also have installed a WordPress plugin that provides analytics services. In that case, add information from that plugin here.' ) . '</p>' .
    16851705
    16861706            '<h2>' . __( 'Who we share your data with' ) . '</h2>' .
    1687             '<p class="wp-policy-help">' . __( 'In this section you should name and list all third party providers with whom you share site data, including partners, cloud-based services, payment processors, and third party service providers, and note what data you share with them and why. Link to their own privacy notices if possible.' ) . '</p>' .
    1688             '<p class="wp-policy-help">' . __( 'By default, WordPress does not share any personal data with anybody.' ) . '</p>' .
     1707            '<p class="privacy-policy-tutorial">' . __( 'In this section you should name and list all third party providers with whom you share site data, including partners, cloud-based services, payment processors, and third party service providers, and note what data you share with them and why. Link to their own privacy policies if possible.' ) . '</p>' .
     1708            '<p class="privacy-policy-tutorial">' . __( 'By default WordPress does not share any personal data with anyone.' ) . '</p>' .
    16891709
    16901710            '<h2>' . __( 'How long we retain your data' ) . '</h2>' .
    1691             '<p class="wp-policy-help">' . __( 'In this section you should explain how long you retain personal data collected or processed by the website. While it is your responsibility to come up with the schedule of how long you keep each dataset for and why you keep it, that information does need to be listed here. For example, you may want to say that you keep contact form entries for six months, analytics records for a year, and customer purchase records for ten years.' ) . '</p>' .
    1692             '<p>' . __( 'If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognize and approve any follow-up comments automatically instead of holding them in a moderation queue.' ) . '</p>' .
     1711            '<p class="privacy-policy-tutorial">' . __( 'In this section you should explain how long you retain personal data collected or processed by the web site. While it is your responsibility to come up with the schedule of how long you keep each dataset for and why you keep it, that information does need to be listed here. For example, you may want to say that you keep contact form entries for six months, analytics records for a year, and customer purchase records for ten years.' ) . '</p>' .
     1712            '<p>' . $suggested_text . __( 'If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognize and approve any follow-up comments automatically instead of holding them in a moderation queue.' ) . '</p>' .
    16931713            '<p>' . __( 'For users that register on our website (if any), we also store the personal information they provide in their user profile. All users can see, edit, or delete their personal information at any time (except they cannot change their username). Website administrators can also see and edit that information.' ) . '</p>' .
    16941714
    16951715            '<h2>' . __( 'What rights you have over your data' ) . '</h2>' .
    1696             '<p class="wp-policy-help">' . __( 'In this section you should explain what rights your users have over their data and how they can invoke those rights.' ) . '</p>' .
    1697             '<p>' . __( 'If you have an account or have left comments on this website, you can request to receive an export file of the personal data we hold about you, including any data you have provided to us. You can also request that we delete any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.' ) . '</p>' .
     1716            '<p class="privacy-policy-tutorial">' . __( 'In this section you should explain what rights your users have over their data and how they can invoke those rights.' ) . '</p>' .
     1717            '<p>' . $suggested_text . __( 'If you have an account on this site, or have left comments, you can request to receive an exported file of the personal data we hold about you, including any data you have provided to us. You can also request that we erase any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.' ) . '</p>' .
    16981718
    16991719            '<h2>' . __( 'Where we send your data' ) . '</h2>' .
    1700             '<p class="wp-policy-help">' . __( 'In this section you should list all transfers of your site data outside the European Union and describe the means by which that data is safeguarded to European data protection standards. This could include your web hosting, cloud storage, or other third party services.' ) . '</p>' .
    1701             '<p class="wp-policy-help">' . __( 'European data protection law requires that data about European residents which is transferred outside the European Union to be safeguarded to the same standards as if the data was in Europe. So in addition to listing where data goes, you should describe how you ensure that these standards are met either by yourself or by your third-party providers, whether that is through an agreement such as Privacy Shield, model clauses in your contracts, or binding corporate rules.' ) . '</p>' .
    1702             '<p>' . __( 'Visitor comments may be checked through an automated spam detection service. This may be located abroad.' ) . '</p>' .
     1720            '<p class="privacy-policy-tutorial">' . __( 'In this section you should list all transfers of your site data outside the European Union and describe the means by which that data is safeguarded to European data protection standards. This could include your web hosting, cloud storage, or other third party services.' ) . '</p>' .
     1721            '<p class="privacy-policy-tutorial">' . __( 'European data protection law requires data about European residents which is transferred outside the European Union to be safeguarded to the same standards as if the data was in Europe. So in addition to listing where data goes, you should describe how you ensure that these standards are met either by yourself or by your third party providers, whether that is through an agreement such as Privacy Shield, model clauses in your contracts, or binding corporate rules.' ) . '</p>' .
     1722            '<p>' . $suggested_text . __( 'Visitor comments may be checked through an automated spam detection service.' ) . '</p>' .
    17031723
    17041724            '<h2>' . __( 'Your contact information' ) . '</h2>' .
    1705             '<p class="wp-policy-help">' . __( 'In this section you should provide a contact method for privacy-specific concerns. If you are required to have a Data Protection Officer, list their name and full contact details here as well.' ) . '</p>' .
     1725            '<p class="privacy-policy-tutorial">' . __( 'In this section you should provide a contact method for privacy-specific concerns. If you are required to have a Data Protection Officer, list their name and full contact details here as well.' ) . '</p>' .
    17061726
    17071727            '<h2>' . __( 'Additional information' ) . '</h2>' .
    1708             '<p class="wp-policy-help">' . __( 'If you use your website for commercial purposes and you engage in more complex collection or processing of personal data, you should note the following information in your privacy notice in addition to the information we have already discussed.' ) . '</p>' .
     1728            '<p class="privacy-policy-tutorial">' . __( 'If you use your site for commercial purposes and you engage in more complex collection or processing of personal data, you should note the following information in your privacy policy in addition to the information we have already discussed.' ) . '</p>' .
    17091729
    17101730            '<h3>' . __( 'How we protect your data' ) . '</h3>' .
    1711             '<p class="wp-policy-help">' . __( 'In this section you should explain what measures you have taken to protect your users&#8217; data. This could include technical measures such as encryption; security measures such as 2FA; and human measures such as staff training in data protection. If you have carried out a Privacy Impact Assessment, you can mention it here too.' ) . '</p>' .
     1731            '<p class="privacy-policy-tutorial">' . __( 'In this section you should explain what measures you have taken to protect your users&#8217; data. This could include technical measures such as encryption; security measures such as two factor authentication; and measures such as staff training in data protection. If you have carried out a Privacy Impact Assessment, you can mention it here too.' ) . '</p>' .
    17121732
    17131733            '<h3>' . __( 'What data breach procedures we have in place' ) . '</h3>' .
    1714             '<p class="wp-policy-help">' . __( 'In this section you should explain what procedures you have in place to deal with data breaches, either potential or real, such as internal reporting systems, contact mechanisms, or bug bounties.' ) . '</p>' .
     1734            '<p class="privacy-policy-tutorial">' . __( 'In this section you should explain what procedures you have in place to deal with data breaches, either potential or real, such as internal reporting systems, contact mechanisms, or bug bounties.' ) . '</p>' .
    17151735
    17161736            '<h3>' . __( 'What third parties we receive data from' ) . '</h3>' .
    1717             '<p class="wp-policy-help">' . __( 'If your website receives data about users from third parties, including advertisers, this information must be included within the section of your privacy notice dealing with third party data.' ) . '</p>' .
     1737            '<p class="privacy-policy-tutorial">' . __( 'If your web site receives data about users from third parties, including advertisers, this information must be included within the section of your privacy policy dealing with third party data.' ) . '</p>' .
    17181738
    17191739            '<h3>' . __( 'What automated decision making and/or profiling we do with user data' ) . '</h3>' .
    1720             '<p class="wp-policy-help">' . __( 'If your website provides a service which includes automated decision making - for example, allowing customers to apply for credit, or aggregating their data into an advertising profile - you must note that this is taking place, and include information about how that information is used, what decisions are made with that aggregated data, and what rights users have over decisions made without human intervention.' ) . '</p>' .
     1740            '<p class="privacy-policy-tutorial">' . __( 'If your web site provides a service which includes automated decision making - for example, allowing customers to apply for credit, or aggregating their data into an advertising profile - you must note that this is taking place, and include information about how that information is used, what decisions are made with that aggregated data, and what rights users have over decisions made without human intervention.' ) . '</p>' .
    17211741
    17221742            '<h3>' . __( 'Industry regulatory disclosure requirements' ) . '</h3>' .
    1723             '<p class="wp-policy-help">' . __( '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>';
    1724             // End of the suggested policy text.
     1743            '<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>' .
     1744            '</div>';
     1745            // End of the suggested privacy policy text.
    17251746
    17261747        /**
Note: See TracChangeset for help on using the changeset viewer.