Merge pull request #10 from IgorCode/patch-1
Fixed issue in uninstall script
This commit is contained in:
commit
1f3a4fecb2
1 changed files with 5 additions and 0 deletions
|
@ -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' );
|
||||
|
||||
|
|
Loading…
Reference in a new issue