Plugin does not clean transients
-
MWP Plugin does not clean up after plugin deletion.
It leaves transient into database, hosting the old connections, without automatic transient deletion by WP – NO EXPIRY!!!SO YOU MUST CLEAN THE TRANSIENT IN CODE – if you did not set it auto expire!!!
Code snippet edit for functions.php:
function mwp_uninstall()
{
delete_option(‘mwp_core_autoupdate’);
delete_option(‘mwp_recovering’);
delete_option(‘mwp_container_parameters’);
delete_option(‘mwp_container_site_parameters’);// Ensure transient session data is deleted on uninstall delete_site_transient('mwp_sessions');…
PAY ATTENTION TO LAST LINE!
DUE TO THIS MOST WEBSITES CANNOT RECONNECT, even after reinstallation, as it leaves garbage behind! Shame on developers!
The topic ‘Plugin does not clean transients’ is closed to new replies.