Make WordPress Core

Changeset 43353


Ignore:
Timestamp:
06/16/2018 10:24:30 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Remove unnecessary This email has been sent to ###EMAIL### from privacy emails.

The line was copied from the emails that get sent when an email address changes, without considering if it made sense in the new context.

Props iandunn, ianbelanger, desrosj.
Fixes #44030.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r43303 r43353  
    22032203    $expiration_date = date_i18n( get_option( 'date_format' ), time() + $expiration );
    22042204
    2205 /* translators: Do not translate EXPIRATION, LINK, EMAIL, SITENAME, SITEURL: those are placeholders. */
     2205/* translators: Do not translate EXPIRATION, LINK, SITENAME, SITEURL: those are placeholders. */
    22062206$email_text = __(
    22072207'Howdy,
     
    22142214###LINK###
    22152215
    2216 This email has been sent to ###EMAIL###.
    2217 
    22182216Regards,
    22192217All at ###SITENAME###
     
    22272225     * ###EXPIRATION###         The date when the URL will be automatically deleted.
    22282226     * ###LINK###               URL of the personal data export file for the user.
    2229      * ###EMAIL###              The email we are sending to.
    22302227     * ###SITENAME###           The name of the site.
    22312228     * ###SITEURL###            The URL to the site.
  • trunk/src/wp-includes/user.php

    r43331 r43353  
    33393339    );
    33403340
    3341     /* translators: Do not translate DESCRIPTION, CONFIRM_URL, EMAIL, SITENAME, SITEURL: those are placeholders. */
     3341    /* translators: Do not translate DESCRIPTION, CONFIRM_URL, SITENAME, SITEURL: those are placeholders. */
    33423342    $email_text = __(
    33433343        'Howdy,
     
    33523352You can safely ignore and delete this email if you do not want to
    33533353take this action.
    3354 
    3355 This email has been sent to ###EMAIL###.
    33563354
    33573355Regards,
     
    33673365     * ###DESCRIPTION### Description of the action being performed so the user knows what the email is for.
    33683366     * ###CONFIRM_URL### The link to click on to confirm the account action.
    3369      * ###EMAIL###       The email we are sending to.
    33703367     * ###SITENAME###    The name of the site.
    33713368     * ###SITEURL###     The URL to the site.
Note: See TracChangeset for help on using the changeset viewer.