diff -r 000000000000 -r 03b0d1493584 web/wp-content/plugins/wp-super-cache/uninstall.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/plugins/wp-super-cache/uninstall.php Wed Dec 23 17:55:33 2009 +0000 @@ -0,0 +1,88 @@ + + +WP Super Cache Uninstall Script + + + +

This script will uninstall the files and directories created by WP Super Cache.

+DONE
"; + } + + if ( in_array( 'wp-super-cache/wp-cache.php', get_option( 'active_plugins' ) ) ) + wp_die( 'WP Super Cache is still active. Please disable it on your plugins page first.' ); + echo "Removing " . WP_CONTENT_DIR . "/cache/ :"; + uninstall_supercache( WP_CONTENT_DIR . '/cache' ); + echo " DONE
"; + echo "Removing " . WP_CONTENT_DIR . "/advanced-cache.php :"; + @unlink( WP_CONTENT_DIR . "/advanced-cache.php" ); + echo " DONE
"; + echo "Removing " . WP_CONTENT_DIR . "/wp-cache-config.php :"; + @unlink( WP_CONTENT_DIR . "/wp-cache-config.php" ); + echo " DONE
"; + echo "

Make sure you remove the following line from " . ABSPATH . "wp-config.php too.

"; + echo "
define('WP_CACHE', true);
"; + echo "

Please comment out the UNINSTALL_WPSUPERCACHE define() in this file!

"; + wp_mail( $current_user->user_email, 'WP Super Cache Uninstalled', '' ); +} else { + ?> +
+

Click UNINSTALL to delete the following files and directories: +

    +
  1. +
  2. +
  3. +
+ + +
+ + +