pluginkollektiv / snitch

Network monitor for WordPress. Connection overview for monitoring and controlling outgoing data traffic.
https://wordpress.org/plugins/snitch/
GNU General Public License v3.0
54 stars 21 forks source link

Delete post meta data on uninstall #38

Open obstschale opened 3 years ago

obstschale commented 3 years ago

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.