Make WordPress Core


Ignore:
Timestamp:
04/08/2019 06:16:41 AM (7 years ago)
Author:
pento
Message:

Text Changes: Tweak the wording of email notification subjects.

This change brings more coherence between the subject lines of the various emails WordPress will send.

Props ramiy, pento.
Fixes #37940.

File:
1 edited

Legend:

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

    r45039 r45137  
    19711971                        $pass_change_email = array(
    19721972                                'to'      => $user['user_email'],
    1973                                 /* translators: User password change notification email subject. %s: Site name */
    1974                                 'subject' => __( '[%s] Notice of Password Change' ),
     1973                                /* translators: Password change notification email subject. %s: Site name */
     1974                                'subject' => __( '[%s] Password Changed' ),
    19751975                                'message' => $pass_change_text,
    19761976                                'headers' => '',
     
    20282028                        $email_change_email = array(
    20292029                                'to'      => $user['user_email'],
    2030                                 /* translators: User email change notification email subject. %s: Site name */
    2031                                 'subject' => __( '[%s] Notice of Email Change' ),
     2030                                /* translators: Email change notification email subject. %s: Site name */
     2031                                'subject' => __( '[%s] Email Changed' ),
    20322032                                'message' => $email_change_text,
    20332033                                'headers' => '',
     
    28102810                $content = str_replace( '###SITEURL###', home_url(), $content );
    28112811
    2812                 wp_mail( $_POST['email'], sprintf( __( '[%s] New Email Address' ), $sitename ), $content );
     2812                /* translators: New email address notification email subject. %s: Site name */
     2813                wp_mail( $_POST['email'], sprintf( __( '[%s] Email Change Request' ), $sitename ), $content );
    28132814
    28142815                $_POST['email'] = $current_user->user_email;
     
    31693170
    31703171        $subject = sprintf(
    3171                 /* translators: %s: Site name. */
     3172                /* translators: Erasure request fulfilled notification email subject. %s: Site name. */
    31723173                __( '[%s] Erasure Request Fulfilled' ),
    31733174                $email_data['sitename']
Note: See TracChangeset for help on using the changeset viewer.