From a65f964aa12cd66b3e0a173fb70f36757f94d2c4 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Wed, 30 Mar 2022 11:25:09 +0200 Subject: [PATCH] renamed files --- {lib => includes}/arcHIVE-custom-post-type-resources.php | 0 uninstall.php | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename {lib => includes}/arcHIVE-custom-post-type-resources.php (100%) diff --git a/lib/arcHIVE-custom-post-type-resources.php b/includes/arcHIVE-custom-post-type-resources.php similarity index 100% rename from lib/arcHIVE-custom-post-type-resources.php rename to includes/arcHIVE-custom-post-type-resources.php diff --git a/uninstall.php b/uninstall.php index 9c8534c..ac6f5d8 100644 --- a/uninstall.php +++ b/uninstall.php @@ -9,7 +9,7 @@ if (!defined('WP_UNINSTALL_PLUGIN')) { die; } -$option_name = 'wporg_option'; +$option_name = 'arcHIVE_option'; delete_option($option_name); @@ -18,6 +18,6 @@ delete_site_option($option_name); // drop a custom database table global $wpdb; -$wpdb->query("DROP TABLE IF EXISTS {$wpdb->prefix}mytable"); +$wpdb->query("DROP TABLE IF EXISTS {$wpdb->prefix}arcHIVEplugin"); ?>