Make WordPress Core

Changeset 43354 for branches/4.9


Ignore:
Timestamp:
06/16/2018 10:26:06 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.
Merges [43353] to the 4.9 branch.
Fixes #44030.

Location:
branches/4.9
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/includes/file.php

    r43305 r43354  
    20662066    $expiration_date = date_i18n( get_option( 'date_format' ), time() + $expiration );
    20672067
    2068 /* translators: Do not translate EXPIRATION, LINK, EMAIL, SITENAME, SITEURL: those are placeholders. */
     2068/* translators: Do not translate EXPIRATION, LINK, SITENAME, SITEURL: those are placeholders. */
    20692069$email_text = __(
    20702070'Howdy,
     
    20772077###LINK###
    20782078
    2079 This email has been sent to ###EMAIL###.
    2080 
    20812079Regards,
    20822080All at ###SITENAME###
     
    20902088     * ###EXPIRATION###         The date when the URL will be automatically deleted.
    20912089     * ###LINK###               URL of the personal data export file for the user.
    2092      * ###EMAIL###              The email we are sending to.
    20932090     * ###SITENAME###           The name of the site.
    20942091     * ###SITEURL###            The URL to the site.
  • branches/4.9/src/wp-includes/user.php

    r43342 r43354  
    32613261    );
    32623262
    3263     /* translators: Do not translate DESCRIPTION, CONFIRM_URL, EMAIL, SITENAME, SITEURL: those are placeholders. */
     3263    /* translators: Do not translate DESCRIPTION, CONFIRM_URL, SITENAME, SITEURL: those are placeholders. */
    32643264    $email_text = __(
    32653265        'Howdy,
     
    32743274You can safely ignore and delete this email if you do not want to
    32753275take this action.
    3276 
    3277 This email has been sent to ###EMAIL###.
    32783276
    32793277Regards,
     
    32893287     * ###DESCRIPTION### Description of the action being performed so the user knows what the email is for.
    32903288     * ###CONFIRM_URL### The link to click on to confirm the account action.
    3291      * ###EMAIL###       The email we are sending to.
    32923289     * ###SITENAME###    The name of the site.
    32933290     * ###SITEURL###     The URL to the site.
Note: See TracChangeset for help on using the changeset viewer.