This article can be found in many places I reprinted it because it might be used later, so I did I don't know where the first source is. I saw WP Forum So the reprint address is, of course WP Forum Yes
Many friends can't receive the password sent by WordPress registration after registering their accounts, so they can't complete the registration process of WordPress users. The following information was found on the Internet and some changes were made to the registration process: the password was displayed in clear text after the user registered, and it was cancelled to send the password to the user by email. The following is the modification I made to the user registration of WordPress version 2.8.4, which is recorded here. I hope it will be useful to you.
First, open the user registration program "wp login. php" in the root directory where the program is installed in WordPress.
Step 1:
About 269 lines (you can search“ wp_new_user_notification "), with the following code:
wp_new_user_notification($user_id, $user_pass);
Comment out this line of code and change it to the following code:
// wp_new_user_notification($user_id, $user_pass);
setcookie(”u”, $user_login); s
etcookie(”user_pass”, $user_pass);
Step 2:
About 496 lines (you can search for "$errors ->add ('registered ',"). The code is as follows:
elseif ( isset($_GET['checkemail']) &&‘registered’ == $_GET['checkemail'] ) $errors->add(’registered’,__(’Registration complete. Please check your e-mail.’), ‘message’);
Modify it to the following code:
elseif ( isset($_GET['checkemail']) &&‘registered’ == $_GET['checkemail'] ) $errors->add(’registered’,__(’ ^__^ Registration succeeded! <br/>User name: ' $_COOKIE ["u"]. '<br/>Password:' $_COOKIE ['user_pass']. '<br/>(change your password to be easy to remember after login)'), 'message');
// $errors->add(’registered’, __(’Registration complete. Please check your e-mail.’), ‘message’);
Save the file in utf-8 format, and the WordPress user registration password will be displayed in clear text. The function of canceling email sending will be completed.
The effect is shown in the figure below:

Article from: WP forum
see wordpress wp email register Related articles for
Please specify that the original article of this website is reproduced from To be kicked , Link: https://www.itlu.net/articles/1179.html