Support » Plugin: Delete Me » Not working on my 5.5.3 site

  • Hi
    I have installed the plugin and can correctly see the delete account link in profile, but when logged in as a normal user it does not execute the delete, it just sends me straight to the landing page.
    I am not a PHP programmer, but just eyeballing the code, it is as if one of these checks is failing

    if ( current_user_can( $this->info[‘cap’] ) == false || ( is_multisite() && is_super_admin() ) ) return; // stop executing file

    // Does the trigger value match the currently logged in user ID?
    if ( empty( $this->user_ID ) || $this->GET[$this->info[‘trigger’]] != $this->user_ID ) return; // stop executing file

    // Nonce
    if ( isset( $this->GET[$this->info[‘nonce’]] ) == false || wp_verify_nonce( $this->GET[$this->info[‘nonce’]], $this->info[‘nonce’] ) == false ) return; // stop executing file

Viewing 1 replies (of 1 total)
  • Thread Starter petetash


    Can anyone reading this that is running WP 5.5.3 confirm whether they are having any problems with this plugin?

    To reiterate, the option is there,but when you click it, it just takes you back to the site landing page without deleting the account.


Viewing 1 replies (of 1 total)
  • The topic ‘Not working on my 5.5.3 site’ is closed to new replies.