Make WordPress Core


Ignore:
Timestamp:
05/23/2019 10:14:28 PM (7 years ago)
Author:
johnbillion
Message:

I18N: Use a complete translatable string for the "Delete My Site" email subject.

Props thrijith

Fixes #46855

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/ms-delete-site.php

    r43571 r45387  
    7979        $content = str_replace( '###SITE_NAME###', get_network()->site_name, $content );
    8080
    81         wp_mail( get_option( 'admin_email' ), '[ ' . wp_specialchars_decode( get_option( 'blogname' ) ) . ' ] ' . __( 'Delete My Site' ), $content );
     81        wp_mail(
     82                get_option( 'admin_email' ),
     83                sprintf(
     84                        /* translators: %s: Site title */
     85                        __( '[%s] Delete My Site' ),
     86                        wp_specialchars_decode( get_option( 'blogname' ) )
     87                ),
     88                $content
     89        );
    8290
    8391        if ( $switched_locale ) {
Note: See TracChangeset for help on using the changeset viewer.