Plugin: yith-woocommerce-social-login
Update this file: yith-woocommerce-social-login/includes/class-yith-social-login.php (Line 180)
1 2 3 4 |
//重要的一行 //如果displayName是中文,會造成錯誤, 所以改成用Email代替 //$hyb_user_login = sanitize_user($user_profile->displayName, true); $hyb_user_login = sanitize_user($hyb_email, true); |