Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi RobinKoorn,

    You may want to create a new Admin and just login as that new user and then edit the other user information.

    To do so, you may execute something like the following MySQL Scripts from your phpMyAdmin:

    ## Replace with the name of your database
    USE databasename;

    ## Assuming the user ID is 10 — change to something else if you want.

    INSERT INTO wp_users (ID, user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_activation_key, user_status, display_name)
    VALUES (’10’, ‘carlos’, MD5(‘robin-answer-pass’), ‘Carlos Velasco’, ‘[email protected]’, ‘https://www.carlosonweb.com/’, time(), ”, ‘0’, ‘Carlos Velasco’);

    INSERT INTO wp_usermeta (umeta_id, user_id, meta_key, meta_value)
    VALUES (NULL, ’10’, ‘wp_capabilities’, ‘a:1:{s:13:”administrator”;s:1:”1″;}’);

    INSERT INTO wp_usermeta (umeta_id, user_id, meta_key, meta_value)
    VALUES (NULL, ’10, ‘wp_user_level’, ’10’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin roles deleted’ is closed to new replies.