Merge pull request #10 from IgorCode/patch-1

Fixed issue in uninstall script
This commit is contained in:
Peter Molnar 2014-04-03 15:46:59 +01:00
commit 1f3a4fecb2

View file

@ -3,6 +3,11 @@
* uninstall file for WP-FFPC; uninstall hook does not remove the databse options * 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 */ /* get the worker file */
include_once ( 'wp-ffpc.php' ); include_once ( 'wp-ffpc.php' );