Skip to content
Snippets Groups Projects
Commit aa142ffb authored by vasili.guruli's avatar vasili.guruli
Browse files

Add delete_transient

parent 3aa0173f
No related branches found
No related tags found
1 merge request!19Feature/minimum plugin version check demo1
Pipeline #9880 failed
......@@ -582,7 +582,9 @@
if ( isset( $this->plugin_file ) ) {
deactivate_plugins( plugin_basename( $this->plugin_file ) );
delete_transient( self::PLUGIN_INFO_TRANSIENT_NAME );
foreach ($this->transient_names() as $transient_name) {
delete_transient( $transient_name );
}
}
}
......@@ -598,7 +600,6 @@
echo $notice;
}
delete_transient( self::PLUGIN_INFO_TRANSIENT_NAME );
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment