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 failingif ( 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
- The topic ‘Not working on my 5.5.3 site’ is closed to new replies.