Make WordPress Core


Ignore:
Timestamp:
06/15/2020 07:39:32 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Replace "Webmaster" in output messages with more appropriate terms:

  • "All at ###SITENAME###" in wp-admin/ms-delete-site.php, for consistency with other Multisite emails.
  • "Site admin" in register_new_user(), for clarity.

Props Presskopp, marybaum.
Fixes #50394.

File:
1 edited

Legend:

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

    r47785 r48049  
    5353    $switched_locale = switch_to_locale( get_locale() );
    5454
    55     /* translators: Do not translate USERNAME, URL_DELETE, SITE_NAME: those are placeholders. */
     55    /* translators: Do not translate USERNAME, URL_DELETE, SITENAME, SITEURL: those are placeholders. */
    5656    $content = __(
    5757        "Howdy ###USERNAME###,
     
    6969
    7070Thanks for using the site,
    71 Webmaster
    72 ###SITE_NAME###"
     71All at ###SITENAME###
     72###SITEURL###"
    7373    );
    7474    /**
     
    8383    $content = str_replace( '###USERNAME###', $user->user_login, $content );
    8484    $content = str_replace( '###URL_DELETE###', $url_delete, $content );
    85     $content = str_replace( '###SITE_NAME###', get_network()->site_name, $content );
     85    $content = str_replace( '###SITENAME###', get_network()->site_name, $content );
     86    $content = str_replace( '###SITEURL###', network_home_url(), $content );
    8687
    8788    wp_mail(
Note: See TracChangeset for help on using the changeset viewer.