Skip to content

Commit

Permalink
Merge pull request #550 from pluginkollektiv/549-removing-all-options…
Browse files Browse the repository at this point in the history
…-on-uninstall

Delete missed out option on uninstall
  • Loading branch information
Zodiac1978 authored Jan 7, 2024
2 parents 0544491 + 8ea3425 commit d46e6ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions antispam_bee.php
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ public static function uninstall() {
global $wpdb;

delete_option( 'antispam_bee' );
delete_option( 'antispambee_db_version' );
$wpdb->query( 'OPTIMIZE TABLE `' . $wpdb->options . '`' );

//phpcs:disable WordPress.DB.PreparedSQL.NotPrepared
Expand Down

0 comments on commit d46e6ef

Please sign in to comment.