Make WordPress Core

Ticket #44030: 44030.2.diff

File 44030.2.diff, 2.2 KB (added by desrosj, 6 years ago)
  • src/wp-admin/includes/file.php

     
    22022202        $expiration      = apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS );
    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,
    22082208
     
    22132213
    22142214###LINK###
    22152215
    2216 This email has been sent to ###EMAIL###.
    2217 
    22182216Regards,
    22192217All at ###SITENAME###
    22202218###SITEURL###'
     
    22262224         * The following strings have a special meaning and will get replaced dynamically:
    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.
    22322229         *
  • src/wp-includes/user.php

     
    33383338                'siteurl'     => network_home_url(),
    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,
    33443344
     
    33523352You can safely ignore and delete this email if you do not want to
    33533353take this action.
    33543354
    3355 This email has been sent to ###EMAIL###.
    3356 
    33573355Regards,
    33583356All at ###SITENAME###
    33593357###SITEURL###'
     
    33663364         *
    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.
    33723369         *