Fixed issue in uninstall script #10

Merged
IgorCode merged 1 commit from patch-1 into master 2014-04-03 15:47:00 +01:00

1 commit

Author SHA1 Message Date
Igor Jerosimić
e019caa4ad Fixed issue in uninstall script
When using 'uninstall.php' the plugin should always check for the WP_UNINSTALL_PLUGIN constant, before executing. The WP_UNINSTALL_PLUGIN constant is defined by WordPress at runtime during a plugin uninstall, it will not be present if 'uninstall.php' is requested directly.
2014-01-10 23:20:55 +01:00