WordPress.org

Ready to get started?Download WordPress

Forums

Register Plus Redux
[resolved] Deleted my admin user after 7 days (4 posts)

  1. nicomollet
    Member
    Posted 3 years ago #

    I am using Register Plus Redux, I installed in 7 days ago.

    What happened today, I tried to login into wp-admin, with my admin user, and.... my site got all pages/posts deleted.

    From what I understand, Register Plus Redux found my admin user is expired (7 days after) and then delete the user automatically.

    function DeleteExpiredUsers() {
    $options = get_option("register_plus_redux_options");
    if ( !empty($options["delete_unverified_users_after"]) ) {
    global $wpdb;
    $unverified_users = $wpdb->get_results("SELECT user_id FROM $wpdb->usermeta WHERE meta_key='stored_user_login'");

    My admin user had usermeta "stored_user_login" existing, but empty, and the plugin found my user expired with this query above.

    I think this is a major problem, if you can investigate ?
    Hopefully, I had a backup !

    Thank you
    BTW the plugin is really good :)

  2. radiok
    Member
    Plugin Author

    Posted 3 years ago #

    That's awful, I'm sorry to hear that happened! I will add some more checks, confirm that stored_user_login is not empty and that the actual user_login begins with "unverified_" before deleting users anymore. Again, I'm so sorry!

  3. nicomollet
    Member
    Posted 3 years ago #

    Nothing is perfect !

    All you can do is fix is ASAP and everything will be fine :)

  4. radiok
    Member
    Plugin Author

    Posted 3 years ago #

    I've patched this on the trunk, I'm not sure if I should have another 3.6 build before I release 3.7, I'd like to resolve any more showstopper bugs like this before 3.7.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic