diff --git a/uninstall.php b/uninstall.php index 144627d..bc66239 100644 --- a/uninstall.php +++ b/uninstall.php @@ -3,6 +3,11 @@ * uninstall file for WP-FFPC; uninstall hook does not remove the databse options */ +// exit if uninstall not called from WordPress +if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) { + exit; +} + /* get the worker file */ include_once ( 'wp-ffpc.php' );