| @@ -186,8 +186,15 @@ | ||
| 186 | 186 | // The wp-config.php one holds the database credentials and the |
| 187 | 187 | // authentication salts, so leaving it behind would keep them readable in |
| 188 | 188 | // the options table long after the plugin is gone. |
| 189 | 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', | |
| 190 | 197 | 'vigilante_wpconfig_backup', |
| 191 | 198 | 'vigilante_config_copies_purged', |
| 192 | 199 | 'vigilante_config_copies_sweep_lock', |
| 193 | 200 | 'vigilante_htaccess_write_lock', |
| @@ -193,8 +200,9 @@ | ||
| 193 | 200 | 'vigilante_htaccess_write_lock', |
| 194 | 201 | 'vigilante_plugin_status_state', |
| 195 | 202 | 'vigilante_plugin_status_last_check', |
| 196 | 203 | 'vigilante_ignored_closed_plugins', |
| 204 | + 'vigilante_self_integrity_state', | |
| 197 | 205 | ); |
| 198 | 206 | |
| 199 | 207 | foreach ( $options_to_delete as $option ) { |
| 200 | 208 | delete_option( $option ); |
| @@ -263,8 +271,9 @@ | ||
| 263 | 271 | 'vigilante_critical_files_baseline', |
| 264 | 272 | 'vigilante_owned_blocks', |
| 265 | 273 | 'vigilante_owned_blocks_claim', |
| 266 | 274 | 'vigilante_ignored_closed_plugins', |
| 275 | + 'vigilante_self_integrity_state', | |
| 267 | 276 | 'vigilante_ignored_files', |
| 268 | 277 | 'vigilante_dismissed_notices', |
| 269 | 278 | 'vigilante_under_attack_mode', |
| 270 | 279 | 'vigilante_active_preset', |