From 8ea4da0826124c9ce809929d4a6efa37cb89ea10 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 23 Mar 2019 10:54:53 +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. Built from https://develop.svn.wordpress.org/trunk@44987 git-svn-id: http://core.svn.wordpress.org/trunk@44818 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/misc.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index 4648efc4af..d0dc33b913 100644 --- a/wp-admin/includes/misc.php +++ b/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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index bf3b5f706b..ef82857ea4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-alpha-44986'; +$wp_version = '5.2-alpha-44987'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.