WordPress.org

Make WordPress Core

Changeset 44987


Ignore:
Timestamp:
03/23/2019 10:53:20 AM (5 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

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

    r44949 r44987  
    18401840        $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>';
    18411841        /* translators: default privacy policy text. */
    1842         $strings[] = '<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>';
     1842        $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>';
    18431843        /* translators: default privacy policy text. */
    18441844        $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 &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>';
Note: See TracChangeset for help on using the changeset viewer.