| @@ -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. |
| @@ -164,8 +165,9 @@ | ||
| 164 | 165 | 'vigilante_owned_blocks_claim', |
| 165 | 166 | 'vigilante_backup_timestamp', |
| 166 | 167 | 'vigilante_last_integrity_scan', |
| 167 | 168 | 'vigilante_last_integrity_results', |
| 169 | + 'vigilante_integrity_notified', | |
| 168 | 170 | 'vigilante_ignored_files', |
| 169 | 171 | 'vigilante_dismissed_notices', |
| 170 | 172 | 'vigilante_under_attack_mode', |
| 171 | 173 | 'vigilante_active_preset', |
| @@ -185,13 +187,23 @@ | ||
| 185 | 187 | // The wp-config.php one holds the database credentials and the |
| 186 | 188 | // authentication salts, so leaving it behind would keep them readable in |
| 187 | 189 | // the options table long after the plugin is gone. |
| 188 | 190 | 'vigilante_htaccess_backup', |
| 191 | + 'vigilante_htaccess_history', | |
| 192 | + // The pre-migration snapshot keeps our own header block so the owner can | |
| 193 | + // restore it; it is still ours to remove on uninstall, along with the | |
| 194 | + // recovery undo copy and the dismissed flag. | |
| 195 | + 'vigilante_htaccess_pre_migration', | |
| 196 | + 'vigilante_htaccess_recovery_undo', | |
| 197 | + 'vigilante_htaccess_recovery_done', | |
| 189 | 198 | 'vigilante_wpconfig_backup', |
| 190 | 199 | 'vigilante_config_copies_purged', |
| 200 | + 'vigilante_config_copies_sweep_lock', | |
| 201 | + 'vigilante_htaccess_write_lock', | |
| 191 | 202 | 'vigilante_plugin_status_state', |
| 192 | 203 | 'vigilante_plugin_status_last_check', |
| 193 | 204 | 'vigilante_ignored_closed_plugins', |
| 205 | + 'vigilante_self_integrity_state', | |
| 194 | 206 | ); |
| 195 | 207 | |
| 196 | 208 | foreach ( $options_to_delete as $option ) { |
| 197 | 209 | delete_option( $option ); |
| @@ -260,8 +272,9 @@ | ||
| 260 | 272 | 'vigilante_critical_files_baseline', |
| 261 | 273 | 'vigilante_owned_blocks', |
| 262 | 274 | 'vigilante_owned_blocks_claim', |
| 263 | 275 | 'vigilante_ignored_closed_plugins', |
| 276 | + 'vigilante_self_integrity_state', | |
| 264 | 277 | 'vigilante_ignored_files', |
| 265 | 278 | 'vigilante_dismissed_notices', |
| 266 | 279 | 'vigilante_under_attack_mode', |
| 267 | 280 | 'vigilante_active_preset', |