[wp-trac] [WordPress Trac] #60820: Improve wording of the 'Login Details' mail

WordPress Trac noreply at wordpress.org
Fri Mar 22 11:04:03 UTC 2024


#60820: Improve wording of the 'Login Details' mail
-------------------------------------------------+-------------------------
 Reporter:  pixelverbieger                       |       Owner:  marybaum
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Login and Registration               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-copy-review reporter-feedback  |     Focuses:
-------------------------------------------------+-------------------------

Comment (by pixelverbieger):

 The current message string is
 'To set your password, visit the following address:'

 Located in the file
 /wp-includes/pluggable.php:2226

 {{{#!php
 <?php
         $message  = sprintf( __( 'Username: %s' ), $user->user_login ) .
 "\r\n\r\n";
         $message .= __( 'To set your password, visit the following
 address:' ) . "\r\n\r\n";
         $message .= network_site_url( "wp-
 login.php?action=rp&key=$key&login=" . rawurlencode( $user->user_login ),
 'login' ) . "\r\n\r\n";

         $message .= wp_login_url() . "\r\n";
 }}}


 The whole 'unit' begins in line 2202

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60820#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list