From 211bb31cf499920c3db8182352d02ae43279ab85 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 7 Jul 2021 15:56:02 +0200 Subject: [PATCH] Delete site option on uninstall --- uninstall.php | 1 + 1 file changed, 1 insertion(+) diff --git a/uninstall.php b/uninstall.php index b4975181..0ef1824d 100644 --- a/uninstall.php +++ b/uninstall.php @@ -10,4 +10,5 @@ defined( 'WP_UNINSTALL_PLUGIN' ) or die; delete_option( 'preferred_languages' ); +delete_site_option( 'preferred_languages' ); delete_metadata( 'user', null, 'preferred_languages', '', true );