User registration problem in WordPress

Look at the code in wp-login.php (line 481 and following). There you can see how registration works.

The names of your form – email, name – are probably overwritten by WordPress. Always use prefixed names in forms to avoid collisions, eg.: ma_email and ma_name.

Prepare incoming data. Do not just write anything someone sends you into your data base. It may be dangerous.

Oh, and welcome to WordPress Stack Exchange! 🙂

Leave a Comment