all repos — wp-ffpc @ 1f3a4fecb2701092e0252718850aec5351aa7ccf

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
commit

1f3a4fecb2701092e0252718850aec5351aa7ccf

parent

dc7e4f3f4e733ae917de7acf7b35eee8441d3312

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M uninstall.phpuninstall.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' );