diff options
| author | danix <danix@danix.xyz> | 2020-11-04 12:10:15 +0100 |
|---|---|---|
| committer | danix <danix@danix.xyz> | 2020-11-04 12:10:15 +0100 |
| commit | 8c3e9b00bbeb0a3493d5b0e9b6cc4c68d413a4b0 (patch) | |
| tree | 21ccfcd4e007c9ecb2f595726b8583b6b1649153 /uninstall.php | |
| parent | 09a20ca4916ec0f26a9d944ae2de8657050d2bc8 (diff) | |
| download | danixland-contact-form-8c3e9b00bbeb0a3493d5b0e9b6cc4c68d413a4b0.tar.gz danixland-contact-form-8c3e9b00bbeb0a3493d5b0e9b6cc4c68d413a4b0.zip | |
Linted files
modificato: danixland-contact-form.php
modificato: include/dnxcf_helper.php
modificato: include/dnxcf_mail_template_danixland.php
modificato: include/dnxcf_options-display.php
modificato: include/dnxcf_options-register.php
modificato: include/dnxcf_settings.php
modificato: include/index.php
modificato: index.php
modificato: uninstall.php
Diffstat (limited to 'uninstall.php')
| -rw-r--r-- | uninstall.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/uninstall.php b/uninstall.php index a01d2bf..e544cb8 100644 --- a/uninstall.php +++ b/uninstall.php @@ -1,10 +1,11 @@ <?php //if uninstall not called from WordPress exit -if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) - exit(); +if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { + exit(); +} $options = 'dnxcf_options'; delete_option( $options ); -?>
\ No newline at end of file + |
