300 /** |
302 /** |
301 * Add a notice with a link to the guide when editing the privacy policy page. |
303 * Add a notice with a link to the guide when editing the privacy policy page. |
302 * |
304 * |
303 * @since 4.9.6 |
305 * @since 4.9.6 |
304 * @since 5.0.0 The `$post` parameter was made optional. |
306 * @since 5.0.0 The `$post` parameter was made optional. |
|
307 * |
|
308 * @global WP_Post $post Global post object. |
305 * |
309 * |
306 * @param WP_Post|null $post The currently edited post. Default null. |
310 * @param WP_Post|null $post The currently edited post. Default null. |
307 */ |
311 */ |
308 public static function notice( $post = null ) { |
312 public static function notice( $post = null ) { |
309 if ( is_null( $post ) ) { |
313 if ( is_null( $post ) ) { |
585 /* translators: Default privacy policy text. */ |
589 /* translators: Default privacy policy text. */ |
586 $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>'; |
590 $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>'; |
587 } |
591 } |
588 |
592 |
589 /* translators: Default privacy policy heading. */ |
593 /* translators: Default privacy policy heading. */ |
590 $strings[] = '<h2>' . __( 'Where we send your data' ) . '</h2>'; |
594 $strings[] = '<h2>' . __( 'Where your data is sent' ) . '</h2>'; |
591 |
595 |
592 if ( $description ) { |
596 if ( $description ) { |
593 /* translators: Privacy policy tutorial. */ |
597 /* translators: Privacy policy tutorial. */ |
594 $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>'; |
598 $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>'; |
595 /* translators: Privacy policy tutorial. */ |
599 /* translators: Privacy policy tutorial. */ |