WordPress.org

Make WordPress Core

Ticket #32263: 32263.diff

File 32263.diff, 2.9 KB (added by yoavf, 4 years ago)
  • src/wp-admin/includes/ms.php

     
    253253        );
    254254        update_option( 'adminhash', $new_admin_email );
    255255
     256        /* translators: Do not translate the ALL CAPS words between ### - those are placeholders. */
    256257        $email_text = __( 'Howdy ###USERNAME###,
    257258
    258259You recently requested to have the administration email address on
     
    334335                                );
    335336                update_option( $current_user->ID . '_new_email', $new_user_email );
    336337
     338                /* translators: Do not translate the ALL CAPS words between ### - those are placeholders. */
    337339                $email_text = __( 'Howdy ###USERNAME###,
    338340
    339341You recently requested to have the email address on your account changed.
  • src/wp-admin/includes/schema.php

     
    917917                $site_admins = get_site_option( 'site_admins' );
    918918        }
    919919
     920    /* translators: Do not translate USERNAME, SITE_NAME, BLOG_URL, PASSWORD: those are placeholders. */
    920921        $welcome_email = __( 'Howdy USERNAME,
    921922
    922923Your new SITE_NAME site has been successfully set up at:
  • src/wp-admin/ms-delete-site.php

     
    4242
    4343        $url_delete = esc_url( admin_url( 'ms-delete-site.php?h=' . $hash ) );
    4444
     45        /* translators: Do not translate the ALL CAPS words between ### - those are placeholders. */
    4546        $content = __( "Howdy ###USERNAME###,
    4647
    4748You recently clicked the 'Delete Site' link on your site and filled in a
  • src/wp-includes/ms-functions.php

     
    14331433                return false;
    14341434
    14351435        $welcome_email = get_site_option( 'welcome_email' );
    1436         if ( $welcome_email == false )
     1436        if ( $welcome_email == false ) {
     1437
     1438                /* translators: Do not translate USERNAME, SITE_NAME, BLOG_URL, PASSWORD: those are placeholders. */
    14371439                $welcome_email = __( 'Howdy USERNAME,
    14381440
    14391441Your new SITE_NAME site has been successfully set up at:
     
    14481450We hope you enjoy your new site. Thanks!
    14491451
    14501452--The Team @ SITE_NAME' );
     1453        }
    14511454
    14521455        $url = get_blogaddress_by_id($blog_id);
    14531456        $user = get_userdata( $user_id );
     
    20802083function welcome_user_msg_filter( $text ) {
    20812084        if ( !$text ) {
    20822085                remove_filter( 'site_option_welcome_user_email', 'welcome_user_msg_filter' );
     2086
     2087                /* translators: Do not translate USERNAME, SITE_NAME, PASSWORD, LOGINLINK: those are placeholders. */
    20832088                $text = __( 'Howdy USERNAME,
    20842089
    20852090Your new account is set up.