Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

what are the differences between wp_users and wp_usermeta tables?

i use wp-email-login plugin and i just noticed that if a user change his email in the profile page it saved in the wp_usermeta table and not in the wp_users table, this is a problem cause the user have to use the first email to login successful, if he use the new (changed) email he can't get access.

does anyone here can explain me why and how i can save the user email in the wp_users table?

thanks a lot

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

wp_users is the primary table, with a fixed list of columns.

wp_usermeta is an additional table for storing arbitrary information (custom fields).

The wp_users table already has a user_email column, so I don't know why the plugin uses wp_usermeta. I guess the best person to ask would be the plugin author himself.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.