diff --git a/src/wp-admin/includes/class-wp-automatic-updater.php b/src/wp-admin/includes/class-wp-automatic-updater.php index c1c67206a9..e3fc5eb784 100644 --- a/src/wp-admin/includes/class-wp-automatic-updater.php +++ b/src/wp-admin/includes/class-wp-automatic-updater.php @@ -904,11 +904,11 @@ Thanks! -- The WordPress Team" ); $body[] = ''; - /* translators: %s: site title */ - $subject = sprintf( __( '[%s] There were failures during background updates' ), $site_title ); + /* translators: Background update failed notification email subject. %s: site title */ + $subject = sprintf( __( '[%s] Background Update Failed' ), $site_title ); } else { - /* translators: %s: site title */ - $subject = sprintf( __( '[%s] Background updates have finished' ), $site_title ); + /* translators: Background update finished notification email subject. %s: site title */ + $subject = sprintf( __( '[%s] Background Update Finished' ), $site_title ); } $body[] = trim( diff --git a/src/wp-admin/user-new.php b/src/wp-admin/user-new.php index dfcf826552..a2403417ac 100644 --- a/src/wp-admin/user-new.php +++ b/src/wp-admin/user-new.php @@ -122,7 +122,7 @@ You\'ve been invited to join \'%1$s\' at Please click the following link to confirm the invite: %4$s' ); - 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/" ) ) ); + 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/" ) ) ); if ( $switched_locale ) { restore_previous_locale(); diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index f8d2a66216..6a30a598c3 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -6582,7 +6582,7 @@ All at ###SITENAME### $email_change_email = array( 'to' => $old_email, /* translators: Site admin email change notification email subject. %s: Site title */ - 'subject' => __( '[%s] Notice of Admin Email Change' ), + 'subject' => __( '[%s] Admin Email Changed' ), 'message' => $email_change_text, 'headers' => '', ); diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index 1e661dde24..d27f71954c 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -2645,7 +2645,7 @@ All at ###SITENAME### $content = str_replace( '###SITENAME###', wp_specialchars_decode( get_site_option( 'site_name' ), ENT_QUOTES ), $content ); $content = str_replace( '###SITEURL###', network_home_url(), $content ); - wp_mail( $value, sprintf( __( '[%s] New Network Admin Email Address' ), wp_specialchars_decode( get_site_option( 'site_name' ), ENT_QUOTES ) ), $content ); + wp_mail( $value, sprintf( __( '[%s] Network Admin Email Change Request' ), wp_specialchars_decode( get_site_option( 'site_name' ), ENT_QUOTES ) ), $content ); if ( $switched_locale ) { restore_previous_locale(); @@ -2704,7 +2704,7 @@ All at ###SITENAME### $email_change_email = array( 'to' => $old_email, /* translators: Network admin email change notification email subject. %s: Network title */ - 'subject' => __( '[%s] Notice of Network Admin Email Change' ), + 'subject' => __( '[%s] Network Admin Email Changed' ), 'message' => $email_change_text, 'headers' => '', ); diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index c0fc26140f..203296c648 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -1918,7 +1918,7 @@ if ( ! function_exists( 'wp_new_user_notification' ) ) : $wp_new_user_notification_email_admin = array( 'to' => get_option( 'admin_email' ), - /* translators: Password change notification email subject. %s: Site title */ + /* translators: New user registration notification email subject. %s: Site title */ 'subject' => __( '[%s] New User Registration' ), 'message' => $message, 'headers' => '', @@ -1984,8 +1984,8 @@ if ( ! function_exists( 'wp_new_user_notification' ) ) : $wp_new_user_notification_email = array( 'to' => $user->user_email, - /* translators: Password change notification email subject. %s: Site title */ - 'subject' => __( '[%s] Your username and password info' ), + /* translators: Login credentials notification email subject. %s: Site title */ + 'subject' => __( '[%s] Login Credentials' ), 'message' => $message, 'headers' => '', ); diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 6b7a974dbb..9696789dd5 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -1970,8 +1970,8 @@ All at ###SITENAME### $pass_change_email = array( 'to' => $user['user_email'], - /* translators: User password change notification email subject. %s: Site name */ - 'subject' => __( '[%s] Notice of Password Change' ), + /* translators: Password change notification email subject. %s: Site name */ + 'subject' => __( '[%s] Password Changed' ), 'message' => $pass_change_text, 'headers' => '', ); @@ -2027,8 +2027,8 @@ All at ###SITENAME### $email_change_email = array( 'to' => $user['user_email'], - /* translators: User email change notification email subject. %s: Site name */ - 'subject' => __( '[%s] Notice of Email Change' ), + /* translators: Email change notification email subject. %s: Site name */ + 'subject' => __( '[%s] Email Changed' ), 'message' => $email_change_text, 'headers' => '', ); @@ -2809,7 +2809,8 @@ All at ###SITENAME### $content = str_replace( '###SITENAME###', $sitename, $content ); $content = str_replace( '###SITEURL###', home_url(), $content ); - wp_mail( $_POST['email'], sprintf( __( '[%s] New Email Address' ), $sitename ), $content ); + /* translators: New email address notification email subject. %s: Site name */ + wp_mail( $_POST['email'], sprintf( __( '[%s] Email Change Request' ), $sitename ), $content ); $_POST['email'] = $current_user->user_email; } @@ -3168,7 +3169,7 @@ function _wp_privacy_send_erasure_fulfillment_notification( $request_id ) { ); $subject = sprintf( - /* translators: %s: Site name. */ + /* translators: Erasure request fulfilled notification email subject. %s: Site name. */ __( '[%s] Erasure Request Fulfilled' ), $email_data['sitename'] );