Skip to content

Commit

Permalink
Adding all options and transients to delete; fixed #322
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcanhelp committed Jan 30, 2018
1 parent b197db6 commit 81da979
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions WP_Auth0.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,20 @@ public function deactivate() {
public static function uninstall() {
$a0_options = WP_Auth0_Options::Instance();
$a0_options->delete();

delete_option( 'auth0_db_version' );
delete_option( 'auth0_error_log' );

delete_option( 'widget_wp_auth0_popup_widget' );
delete_option( 'widget_wp_auth0_widget' );
delete_option( 'widget_wp_auth0_social_amplification_widget' );

delete_option( 'wp_auth0_client_grant_failed' );
delete_option( 'wp_auth0_client_grant_success' );
delete_option( 'wp_auth0_grant_types_failed' );
delete_option( 'wp_auth0_grant_types_success' );

delete_transient('WP_Auth0_JWKS_cache');
}

private function autoloader( $class ) {
Expand Down

0 comments on commit 81da979

Please sign in to comment.