- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php
r45926 r45932 141 141 <?php 142 142 printf( 143 /* translators: %s: Privacy Policy Guide URL */143 /* translators: %s: Privacy Policy Guide URL. */ 144 144 __( 'The suggested privacy policy text has changed. Please <a href="%s">review the guide</a> and update your privacy policy.' ), 145 145 esc_url( admin_url( 'privacy-policy-guide.php' ) ) … … 354 354 $url, 355 355 $label, 356 /* translators: accessibility text*/356 /* translators: Accessibility text. */ 357 357 __( '(opens in a new tab)' ) 358 358 ); … … 387 387 $class = ' text-removed'; 388 388 $date = date_i18n( $date_format, $section['removed'] ); 389 /* translators: %s: date of plugin deactivation*/389 /* translators: %s: Date of plugin deactivation. */ 390 390 $meta = sprintf( __( 'Removed %s.' ), $date ); 391 391 392 /* translators: %s: date of plugin deactivation*/392 /* translators: %s: Date of plugin deactivation. */ 393 393 $removed = __( 'You deactivated this plugin on %s and may no longer need this policy.' ); 394 394 $removed = '<div class="error inline"><p>' . sprintf( $removed, $date ) . '</p></div>'; … … 396 396 $class = ' text-updated'; 397 397 $date = date_i18n( $date_format, $section['updated'] ); 398 /* translators: %s: date of privacy policy text update*/398 /* translators: %s: Date of privacy policy text update. */ 399 399 $meta = sprintf( __( 'Updated %s.' ), $date ); 400 400 } … … 410 410 $content .= '<div class="privacy-text-section' . $class . '">'; 411 411 $content .= '<a id="' . $toc_id . '"> </a>'; 412 /* translators: %s: plugin name*/412 /* translators: %s: Plugin name. */ 413 413 $content .= '<h2>' . sprintf( __( 'Source: %s' ), $plugin_name ) . '</h2>'; 414 414 $content .= $removed; … … 422 422 $content .= $copy; 423 423 $content .= '<span class="screen-reader-text">'; 424 /* translators: %s: plugin name*/424 /* translators: %s: Plugin name. */ 425 425 $content .= sprintf( __( 'Copy suggested policy text from %s.' ), $plugin_name ); 426 426 $content .= '</span>'; … … 482 482 } 483 483 484 /* translators: default privacy policy heading. */484 /* translators: Default privacy policy heading. */ 485 485 $strings[] = '<h2>' . __( 'Who we are' ) . '</h2>'; 486 486 487 487 if ( $description ) { 488 /* translators: privacy policy tutorial. */488 /* translators: Privacy policy tutorial. */ 489 489 $strings[] = '<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>'; 490 /* translators: privacy policy tutorial. */490 /* translators: Privacy policy tutorial. */ 491 491 $strings[] = '<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>'; 492 492 } 493 493 494 /* translators: default privacy policy text, %sSite URL. */494 /* translators: Default privacy policy text. %s: Site URL. */ 495 495 $strings[] = '<p>' . $suggested_text . sprintf( __( 'Our website address is: %s.' ), get_bloginfo( 'url', 'display' ) ) . '</p>'; 496 496 497 /* translators: default privacy policy heading. */497 /* translators: Default privacy policy heading. */ 498 498 $strings[] = '<h2>' . __( 'What personal data we collect and why we collect it' ) . '</h2>'; 499 499 500 500 if ( $description ) { 501 /* translators: privacy policy tutorial. */501 /* translators: Privacy policy tutorial. */ 502 502 $strings[] = '<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>'; 503 /* translators: privacy policy tutorial. */503 /* translators: Privacy policy tutorial. */ 504 504 $strings[] = '<p class="privacy-policy-tutorial">' . __( 'You should also note any collection and retention of sensitive personal data, such as data concerning health.' ) . '</p>'; 505 /* translators: privacy policy tutorial. */505 /* translators: Privacy policy tutorial. */ 506 506 $strings[] = '<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>'; 507 /* translators: privacy policy tutorial. */507 /* translators: Privacy policy tutorial. */ 508 508 $strings[] = '<p class="privacy-policy-tutorial">' . __( 'Personal data is not just created by a user’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>'; 509 /* translators: privacy policy tutorial. */509 /* translators: Privacy policy tutorial. */ 510 510 $strings[] = '<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>'; 511 511 } 512 512 513 /* translators: default privacy policy heading. */513 /* translators: Default privacy policy heading. */ 514 514 $strings[] = '<h3>' . __( 'Comments' ) . '</h3>'; 515 515 516 516 if ( $description ) { 517 /* translators: privacy policy tutorial. */517 /* translators: Privacy policy tutorial. */ 518 518 $strings[] = '<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>'; 519 519 } 520 520 521 /* translators: default privacy policy text. */521 /* translators: Default privacy policy text. */ 522 522 $strings[] = '<p>' . $suggested_text . __( 'When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection.' ) . '</p>'; 523 /* translators: default privacy policy text. */523 /* translators: Default privacy policy text. */ 524 524 $strings[] = '<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>'; 525 525 526 /* translators: default privacy policy heading. */526 /* translators: Default privacy policy heading. */ 527 527 $strings[] = '<h3>' . __( 'Media' ) . '</h3>'; 528 528 529 529 if ( $description ) { 530 /* translators: privacy policy tutorial. */530 /* translators: Privacy policy tutorial. */ 531 531 $strings[] = '<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>'; 532 532 } 533 533 534 /* translators: default privacy policy text. */534 /* translators: Default privacy policy text. */ 535 535 $strings[] = '<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>'; 536 536 537 /* translators: default privacy policy heading. */537 /* translators: Default privacy policy heading. */ 538 538 $strings[] = '<h3>' . __( 'Contact forms' ) . '</h3>'; 539 539 540 540 if ( $description ) { 541 /* translators: privacy policy tutorial. */541 /* translators: Privacy policy tutorial. */ 542 542 $strings[] = '<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>'; 543 543 } 544 544 545 /* translators: default privacy policy heading. */545 /* translators: Default privacy policy heading. */ 546 546 $strings[] = '<h3>' . __( 'Cookies' ) . '</h3>'; 547 547 548 548 if ( $description ) { 549 /* translators: privacy policy tutorial. */549 /* translators: Privacy policy tutorial. */ 550 550 $strings[] = '<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>'; 551 551 } 552 552 553 /* translators: default privacy policy text. */553 /* translators: Default privacy policy text. */ 554 554 $strings[] = '<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>'; 555 /* translators: default privacy policy text. */555 /* translators: Default privacy policy text. */ 556 556 $strings[] = '<p>' . __( 'If you visit our login page, 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>'; 557 /* translators: default privacy policy text. */557 /* translators: Default privacy policy text. */ 558 558 $strings[] = '<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 "Remember Me", your login will persist for two weeks. If you log out of your account, the login cookies will be removed.' ) . '</p>'; 559 /* translators: default privacy policy text. */559 /* translators: Default privacy policy text. */ 560 560 $strings[] = '<p>' . __( 'If you edit or publish an article, an additional cookie will be saved in your browser. This cookie includes no personal data and simply indicates the post ID of the article you just edited. It expires after 1 day.' ) . '</p>'; 561 561 562 /* translators: default privacy policy heading. */562 /* translators: Default privacy policy heading. */ 563 563 $strings[] = '<h3>' . __( 'Embedded content from other websites' ) . '</h3>'; 564 /* translators: default privacy policy text. */564 /* translators: Default privacy policy text. */ 565 565 $strings[] = '<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>'; 566 /* translators: default privacy policy text. */566 /* translators: Default privacy policy text. */ 567 567 $strings[] = '<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>'; 568 568 569 /* translators: default privacy policy heading. */569 /* translators: Default privacy policy heading. */ 570 570 $strings[] = '<h3>' . __( 'Analytics' ) . '</h3>'; 571 571 572 572 if ( $description ) { 573 /* translators: privacy policy tutorial. */573 /* translators: Privacy policy tutorial. */ 574 574 $strings[] = '<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’s privacy policy, if any.' ) . '</p>'; 575 /* translators: privacy policy tutorial. */575 /* translators: Privacy policy tutorial. */ 576 576 $strings[] = '<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>'; 577 577 } 578 578 579 /* translators: default privacy policy heading. */579 /* translators: Default privacy policy heading. */ 580 580 $strings[] = '<h2>' . __( 'Who we share your data with' ) . '</h2>'; 581 581 582 582 if ( $description ) { 583 /* translators: privacy policy tutorial. */583 /* translators: Privacy policy tutorial. */ 584 584 $strings[] = '<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>'; 585 /* translators: privacy policy tutorial. */585 /* translators: Privacy policy tutorial. */ 586 586 $strings[] = '<p class="privacy-policy-tutorial">' . __( 'By default WordPress does not share any personal data with anyone.' ) . '</p>'; 587 587 } 588 588 589 /* translators: default privacy policy heading. */589 /* translators: Default privacy policy heading. */ 590 590 $strings[] = '<h2>' . __( 'How long we retain your data' ) . '</h2>'; 591 591 592 592 if ( $description ) { 593 /* translators: privacy policy tutorial. */593 /* translators: Privacy policy tutorial. */ 594 594 $strings[] = '<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>'; 595 595 } 596 596 597 /* translators: default privacy policy text. */597 /* translators: Default privacy policy text. */ 598 598 $strings[] = '<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>'; 599 /* translators: default privacy policy text. */599 /* translators: Default privacy policy text. */ 600 600 $strings[] = '<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>'; 601 601 602 /* translators: default privacy policy heading. */602 /* translators: Default privacy policy heading. */ 603 603 $strings[] = '<h2>' . __( 'What rights you have over your data' ) . '</h2>'; 604 604 605 605 if ( $description ) { 606 /* translators: privacy policy tutorial. */606 /* translators: Privacy policy tutorial. */ 607 607 $strings[] = '<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>'; 608 608 } 609 609 610 /* translators: default privacy policy text. */610 /* translators: Default privacy policy text. */ 611 611 $strings[] = '<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>'; 612 612 613 /* translators: default privacy policy heading. */613 /* translators: Default privacy policy heading. */ 614 614 $strings[] = '<h2>' . __( 'Where we send your data' ) . '</h2>'; 615 615 616 616 if ( $description ) { 617 /* translators: privacy policy tutorial. */617 /* translators: Privacy policy tutorial. */ 618 618 $strings[] = '<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>'; 619 /* translators: privacy policy tutorial. */619 /* translators: Privacy policy tutorial. */ 620 620 $strings[] = '<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>'; 621 621 } 622 622 623 /* translators: default privacy policy text. */623 /* translators: Default privacy policy text. */ 624 624 $strings[] = '<p>' . $suggested_text . __( 'Visitor comments may be checked through an automated spam detection service.' ) . '</p>'; 625 625 626 /* translators: default privacy policy heading. */626 /* translators: Default privacy policy heading. */ 627 627 $strings[] = '<h2>' . __( 'Your contact information' ) . '</h2>'; 628 628 629 629 if ( $description ) { 630 /* translators: privacy policy tutorial. */630 /* translators: Privacy policy tutorial. */ 631 631 $strings[] = '<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>'; 632 632 } 633 633 634 /* translators: default privacy policy heading. */634 /* translators: Default privacy policy heading. */ 635 635 $strings[] = '<h2>' . __( 'Additional information' ) . '</h2>'; 636 636 637 637 if ( $description ) { 638 /* translators: privacy policy tutorial. */638 /* translators: Privacy policy tutorial. */ 639 639 $strings[] = '<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>'; 640 640 } 641 641 642 /* translators: default privacy policy heading. */642 /* translators: Default privacy policy heading. */ 643 643 $strings[] = '<h3>' . __( 'How we protect your data' ) . '</h3>'; 644 644 645 645 if ( $description ) { 646 /* translators: privacy policy tutorial. */646 /* translators: Privacy policy tutorial. */ 647 647 $strings[] = '<p class="privacy-policy-tutorial">' . __( 'In this section you should explain what measures you have taken to protect your users’ 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>'; 648 648 } 649 649 650 /* translators: default privacy policy heading. */650 /* translators: Default privacy policy heading. */ 651 651 $strings[] = '<h3>' . __( 'What data breach procedures we have in place' ) . '</h3>'; 652 652 653 653 if ( $description ) { 654 /* translators: privacy policy tutorial. */654 /* translators: Privacy policy tutorial. */ 655 655 $strings[] = '<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>'; 656 656 } 657 657 658 /* translators: default privacy policy heading. */658 /* translators: Default privacy policy heading. */ 659 659 $strings[] = '<h3>' . __( 'What third parties we receive data from' ) . '</h3>'; 660 660 661 661 if ( $description ) { 662 /* translators: privacy policy tutorial. */662 /* translators: Privacy policy tutorial. */ 663 663 $strings[] = '<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>'; 664 664 } 665 665 666 /* translators: default privacy policy heading. */666 /* translators: Default privacy policy heading. */ 667 667 $strings[] = '<h3>' . __( 'What automated decision making and/or profiling we do with user data' ) . '</h3>'; 668 668 669 669 if ( $description ) { 670 /* translators: privacy policy tutorial. */670 /* translators: Privacy policy tutorial. */ 671 671 $strings[] = '<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>'; 672 672 } 673 673 674 /* translators: default privacy policy heading. */674 /* translators: Default privacy policy heading. */ 675 675 $strings[] = '<h3>' . __( 'Industry regulatory disclosure requirements' ) . '</h3>'; 676 676 677 677 if ( $description ) { 678 /* translators: privacy policy tutorial. */678 /* translators: Privacy policy tutorial. */ 679 679 $strings[] = '<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>'; 680 680 $strings[] = '</div>';
Note: See TracChangeset
for help on using the changeset viewer.