Merge pull request #10 from IgorCode/patch-1 Fixed issue in uninstall script
Peter Molnar hello@petermolnar.eu
Thu, 03 Apr 2014 15:46:59 +0100
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
uninstall.php
→
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' );