Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: New password för local WP login does not work!

Discussion in 'Misc WordPress Requests' started by Farhan Noor, Oct 18, 2017.

  1. Farhan Noor

    Guest

    Reply To: New password för local WP login does not work!, by Farhan Noor

    Hi,

    The password in the database is salted for security purpose so it doesn’t work if you use same password on the login screen.

    You should replace your old password with new one using following function in functions.php file of your active theme:

    wp_update_user(array('ID' => 1,'user_pass'=> 'admin'));

    The above function will set admin as new password for user with ID 1. Change both fields according to your own need.

    Regards

    Reply To: New password för local WP login does not work!
     
    #1

Share This Page

Web Hosting