WordPress.org

Ready to get started?Download WordPress

Forums

SB Welcome Email Editor
[resolved] Changing user's password using wp_update_user doesn't ch (6 posts)

  1. Maxaud
    Member
    Posted 2 years ago #

    I have a frontend where users can modify their user information including password.

    If they edit it, it doesn't change the value stored for the "Remind PW" button so if I remind a user of their password, it sends the old one.

    http://wordpress.org/extend/plugins/welcome-email-editor/

  2. jlamerto
    Member
    Posted 2 years ago #

    I also have this problem.

  3. Sean Barton
    Member
    Plugin Author

    Posted 1 year ago #

    This should work as long as the action fired by the system you are using is the same as that of the back end. Try a plugin like CYC which I think will work.

    thanks
    Sean

  4. Maxaud
    Member
    Posted 1 year ago #

    I'me using wp_update_user() function when changing the password.

  5. Sean Barton
    Member
    Plugin Author

    Posted 1 year ago #

    Ok sure.. I just checked the code and I am using the action called 'profile_update' to check for the existence of pass1 and pass2 in $_POST, checking they match and then storing the contents in usermeta. I suspect that unless your front end system uses the same variable names and fires the same action then this is unlikely to be compatible.

    ta
    S

  6. Maxaud
    Member
    Posted 1 year ago #

    Yes, this is only called in the backend of WordPress when a user updates their profile.

    I'd recommend changing the plugin so it also supports wp_update_user and wp_set_password unctions as these are probably the most common ways people change a users password when not using the edit profile page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic