WordPress.org

Make WordPress Core

Changeset 45137


Ignore:
Timestamp:
04/08/2019 06:16:41 AM (3 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.

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-automatic-updater.php

    r43598 r45137  
    905905            $body[] = '';
    906906
    907             /* translators: %s: site title */
    908             $subject = sprintf( __( '[%s] There were failures during background updates' ), $site_title );
     907            /* translators: Background update failed notification email subject. %s: site title */
     908            $subject = sprintf( __( '[%s] Background Update Failed' ), $site_title );
    909909        } else {
    910             /* translators: %s: site title */
    911             $subject = sprintf( __( '[%s] Background updates have finished' ), $site_title );
     910            /* translators: Background update finished notification email subject. %s: site title */
     911            $subject = sprintf( __( '[%s] Background Update Finished' ), $site_title );
    912912        }
    913913
  • trunk/src/wp-admin/user-new.php

    r44895 r45137  
    123123%4$s'
    124124            );
    125             wp_mail( $new_user_email, sprintf( __( '[%s] Joining confirmation' ), wp_specialchars_decode( get_option( 'blogname' ) ) ), sprintf( $message, get_option( 'blogname' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ), home_url( "/newbloguser/$newuser_key/" ) ) );
     125            wp_mail( $new_user_email, sprintf( __( '[%s] Joining Confirmation' ), wp_specialchars_decode( get_option( 'blogname' ) ) ), sprintf( $message, get_option( 'blogname' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ), home_url( "/newbloguser/$newuser_key/" ) ) );
    126126
    127127            if ( $switched_locale ) {
  • trunk/src/wp-includes/functions.php

    r45111 r45137  
    65836583        'to'      => $old_email,
    65846584        /* translators: Site admin email change notification email subject. %s: Site title */
    6585         'subject' => __( '[%s] Notice of Admin Email Change' ),
     6585        'subject' => __( '[%s] Admin Email Changed' ),
    65866586        'message' => $email_change_text,
    65876587        'headers' => '',
  • trunk/src/wp-includes/ms-functions.php

    r45104 r45137  
    26462646    $content      = str_replace( '###SITEURL###', network_home_url(), $content );
    26472647
    2648     wp_mail( $value, sprintf( __( '[%s] New Network Admin Email Address' ), wp_specialchars_decode( get_site_option( 'site_name' ), ENT_QUOTES ) ), $content );
     2648    wp_mail( $value, sprintf( __( '[%s] Network Admin Email Change Request' ), wp_specialchars_decode( get_site_option( 'site_name' ), ENT_QUOTES ) ), $content );
    26492649
    26502650    if ( $switched_locale ) {
     
    27052705        'to'      => $old_email,
    27062706        /* translators: Network admin email change notification email subject. %s: Network title */
    2707         'subject' => __( '[%s] Notice of Network Admin Email Change' ),
     2707        'subject' => __( '[%s] Network Admin Email Changed' ),
    27082708        'message' => $email_change_text,
    27092709        'headers' => '',
  • trunk/src/wp-includes/pluggable.php

    r44826 r45137  
    19191919            $wp_new_user_notification_email_admin = array(
    19201920                'to'      => get_option( 'admin_email' ),
    1921                 /* translators: Password change notification email subject. %s: Site title */
     1921                /* translators: New user registration notification email subject. %s: Site title */
    19221922                'subject' => __( '[%s] New User Registration' ),
    19231923                'message' => $message,
     
    19851985        $wp_new_user_notification_email = array(
    19861986            'to'      => $user->user_email,
    1987             /* translators: Password change notification email subject. %s: Site title */
    1988             'subject' => __( '[%s] Your username and password info' ),
     1987            /* translators: Login credentials notification email subject. %s: Site title */
     1988            'subject' => __( '[%s] Login Credentials' ),
    19891989            'message' => $message,
    19901990            'headers' => '',
  • 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.