文件/wp-includes/pluggable.php
1783 行左右注释以下代码,作用关闭修改密码提醒邮件
wp_mail(
$wp_password_change_notification_email['to'],
wp_specialchars_decode( sprintf( $wp_password_change_notification_email['subject'], $blogname ) ),
$wp_password_change_notification_email['message'],
$wp_password_change_notification_email['headers']
);
同文件 1861 行左右,注释以下代码,作用是关闭新用户注册之后自动给管理员发邮件
@wp_mail(
$wp_new_user_notification_email_admin['to'],
wp_specialchars_decode( sprintf( $wp_new_user_notification_email_admin['subject'], $blogname ) ),
$wp_new_user_notification_email_admin['message'],
$wp_new_user_notification_email_admin['headers']
);
同文件 1927 行左右,注释以下代码,作用是关闭新用户注册之后自动给用户发邮件
wp_mail(
$wp_new_user_notification_email['to'],
wp_specialchars_decode( sprintf( $wp_new_user_notification_email['subject'], $blogname ) ),
$wp_new_user_notification_email['message'],
$wp_new_user_notification_email['headers']
);
文件/wp-includes/user.php<message'], $pass_change_email['headers'] );[/v_act]