WordPress.org

Make WordPress Core

Changeset 48049


Ignore:
Timestamp:
06/15/2020 07:39:32 PM (3 months 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.

Location:
trunk/src
Files:
2 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(
  • trunk/src/wp-includes/user.php

    r47808 r48049  
    25752575            sprintf(
    25762576                /* translators: %s: Admin email address. */
    2577                 __( '<strong>Error</strong>: Couldn&#8217;t register you&hellip; please contact the <a href="mailto:%s">webmaster</a> !' ),
     2577                __( '<strong>Error</strong>: Couldn&#8217;t register you&hellip; please contact the <a href="mailto:%s">site admin</a>!' ),
    25782578                get_option( 'admin_email' )
    25792579            )
Note: See TracChangeset for help on using the changeset viewer.