File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,8 @@ function geoip_detect_add_privacy_policy_content() {
211211 * This function is called when the user clicks on "Remove" in the wp-admin
212212 */
213213function on_uninstall () {
214+ geoip_detect_defines ();
215+
214216 $ registry = DataSourceRegistry::getInstance ();
215217 $ registry ->uninstall ();
216218}
Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ If you use Maxmind "Automatic download" then you need to upgrade to this plugin
174174
175175= 5.4.0 =
176176* NEW: Infos can be added to a mail sent by WPForms (with Smart Tag `{geoip_detect2_user_info}`)
177+ * FIX: Remove Fatal Error on uninstall ("Undefined constand GEOIP_DETECT_DEBUG")
177178
178179= 5.3.2 =
179180* FIX: Some country codes such as "PT" were missing in the (deprecated) legacy API mapping.
You can’t perform that action at this time.
0 commit comments