| @@ -70,8 +70,9 @@ | ||
| 70 | 70 | delete_site_option( 'vigilante_baseline_sweep' ); |
| 71 | 71 | delete_site_option( 'vigilante_owned_blocks' ); |
| 72 | 72 | delete_site_option( 'vigilante_owned_blocks_claim' ); |
| 73 | 73 | delete_site_option( 'vigilante_config_copies_sweep' ); |
| 74 | + delete_site_option( 'vigilante_results_sweep' ); | |
| 74 | 75 | } |
| 75 | 76 | |
| 76 | 77 | // Remove backup directory. WP_CONTENT_DIR is shared by the whole network, |
| 77 | 78 | // so this happens once. |
| @@ -185,13 +186,23 @@ | ||
| 185 | 186 | // The wp-config.php one holds the database credentials and the |
| 186 | 187 | // authentication salts, so leaving it behind would keep them readable in |
| 187 | 188 | // the options table long after the plugin is gone. |
| 188 | 189 | 'vigilante_htaccess_backup', |
| 190 | + 'vigilante_htaccess_history', | |
| 191 | + // The pre-migration snapshot keeps our own header block so the owner can | |
| 192 | + // restore it; it is still ours to remove on uninstall, along with the | |
| 193 | + // recovery undo copy and the dismissed flag. | |
| 194 | + 'vigilante_htaccess_pre_migration', | |
| 195 | + 'vigilante_htaccess_recovery_undo', | |
| 196 | + 'vigilante_htaccess_recovery_done', | |
| 189 | 197 | 'vigilante_wpconfig_backup', |
| 190 | 198 | 'vigilante_config_copies_purged', |
| 199 | + 'vigilante_config_copies_sweep_lock', | |
| 200 | + 'vigilante_htaccess_write_lock', | |
| 191 | 201 | 'vigilante_plugin_status_state', |
| 192 | 202 | 'vigilante_plugin_status_last_check', |
| 193 | 203 | 'vigilante_ignored_closed_plugins', |
| 204 | + 'vigilante_self_integrity_state', | |
| 194 | 205 | ); |
| 195 | 206 | |
| 196 | 207 | foreach ( $options_to_delete as $option ) { |
| 197 | 208 | delete_option( $option ); |
| @@ -260,8 +271,9 @@ | ||
| 260 | 271 | 'vigilante_critical_files_baseline', |
| 261 | 272 | 'vigilante_owned_blocks', |
| 262 | 273 | 'vigilante_owned_blocks_claim', |
| 263 | 274 | 'vigilante_ignored_closed_plugins', |
| 275 | + 'vigilante_self_integrity_state', | |
| 264 | 276 | 'vigilante_ignored_files', |
| 265 | 277 | 'vigilante_dismissed_notices', |
| 266 | 278 | 'vigilante_under_attack_mode', |
| 267 | 279 | 'vigilante_active_preset', |