From 448ed1adfc92d1a26e0cbf22d494fcdc8018a0ad Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 23 Mar 2019 10:53:20 +0000 Subject: [PATCH] Privacy: Update default privacy policy text to match the current behavior of setting a temporary cookie on visiting the login page. Props mechter, subrataemfluence, garrett-eclipse. Fixes #44175. git-svn-id: https://develop.svn.wordpress.org/trunk@44987 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/misc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index 4648efc4af..d0dc33b913 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -1839,7 +1839,7 @@ final class WP_Privacy_Policy_Content { /* translators: default privacy policy text. */ $strings[] = '

' . $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.' ) . '

'; /* translators: default privacy policy text. */ - $strings[] = '

' . __( '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.' ) . '

'; + $strings[] = '

' . __( '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.' ) . '

'; /* translators: default privacy policy text. */ $strings[] = '

' . __( '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.' ) . '

'; /* translators: default privacy policy text. */