diff --git a/wp-content/plugins/theme-replacer/theme-replacer.php b/wp-content/plugins/theme-replacer/theme-replacer.php deleted file mode 100644 index 004b71d..0000000 --- a/wp-content/plugins/theme-replacer/theme-replacer.php +++ /dev/null @@ -1,68 +0,0 @@ - -
-

Theme Replacer

-

Click the button below to download and update the theme with the content of the remote zip file.

-
- - - -
-
- open($theme_dir . '/' . $theme_folder_name) === true) { - $zip->extractTo($theme_dir); - $zip->close(); - - // Activate the newly replaced theme - switch_theme($theme_folder_name); - wp_redirect(admin_url('themes.php')); - exit; - } else { - wp_die('Failed to extract the zip file.'); - } -} -add_action('admin_post_ctr_replace_theme', 'ctr_replace_theme'); -