snitch icon indicating copy to clipboard operation
snitch copied to clipboard

Delete post meta data on uninstall

Open obstschale opened this issue 3 years ago • 0 comments

I just discovered that my database table wp_postmeta hold over 12 mio rows. ~11 mio lines were from this snitch plugin, which I did not deinstalled over a year ago. Tweet

I would be nice if the plugin removes all post meta data when it's uninstalled. There is already a hook for that: https://github.com/pluginkollektiv/snitch/blob/master/inc/snitch.class.php#L390

Info: I ran the plugin on a multisite installation. You might want to test, if all post meta tables are respected if that plugin was installed network-wide.

obstschale avatar Dec 08 '20 08:12 obstschale