| @@ -52,9 +52,16 @@ | ||
| 52 | 52 | delete_option( 'xspeed_oc_generation' ); |
| 53 | 53 | delete_option( 'xspeed_oc_sync_attempts' ); |
| 54 | 54 | delete_option( 'xspeed_overridden_constants' ); |
| 55 | 55 | delete_option( 'xspeed_last_mobile_separate' ); |
| 56 | + delete_option( 'xspeed_rules_inputs' ); | |
| 57 | + // Per-user, so it needs the meta sweep rather than delete_option: every | |
| 58 | + // admin who ever confirmed they pasted the server rules has one. | |
| 59 | + if ( function_exists( 'delete_metadata' ) ) { | |
| 60 | + delete_metadata( 'user', 0, 'xspeed_nginx_rules_copied', '', true ); | |
| 61 | + } | |
| 56 | 62 | delete_option( 'xspeed_redirect_to_onboarding' ); |
| 63 | + delete_option( 'xspeed_preloader_firewall_block' ); | |
| 57 | 64 | delete_option( 'xspeed_onboarding_complete' ); |
| 58 | 65 | // Provenance a host plugin wrote before it activated us, and the profile |
| 59 | 66 | // that install came up with. |
| 60 | 67 | delete_option( 'xspeed_installed_by' ); |
| @@ -65,8 +72,9 @@ | ||
| 65 | 72 | // longer write it; an older host may have, and it is ours to clean up. |
| 66 | 73 | delete_option( 'xspeed_setup_snapshot' ); |
| 67 | 74 | delete_option( 'xspeed_stats' ); |
| 68 | 75 | delete_option( 'xspeed_gc_cursor' ); |
| 76 | + delete_option( 'xspeed_mcp_rl_gen' ); | |
| 69 | 77 | wp_clear_scheduled_hook( 'xspeed_gc' ); |
| 70 | 78 | |
| 71 | 79 | global $wpdb; |
| 72 | 80 | |
| @@ -110,8 +118,12 @@ | ||
| 110 | 118 | delete_option( 'wpins_deactivation_details_xspeed' ); |
| 111 | 119 | // The tracker's recurring send. Cleared on opt-out, but nothing guarantees |
| 112 | 120 | // an opt-out ever happened before the uninstall. |
| 113 | 121 | wp_clear_scheduled_hook( 'xspeed_do_weekly_action' ); |
| 122 | + // Health's edge-mode probe: its pending run and its stored verdict. | |
| 123 | + wp_clear_scheduled_hook( 'xspeed_edge_mode_probe_refresh' ); | |
| 124 | + delete_transient( 'xspeed_edge_mode_probe' ); | |
| 125 | + delete_transient( 'xspeed_edge_mode_probe_token' ); | |
| 114 | 126 | // Our own WP Insights rows: the site id, the original URL, and the last |
| 115 | 127 | // payload — whose name embeds the site id. The payload names are |
| 116 | 128 | // derivable from the id, but a failed earlier uninstall or a renamed row |
| 117 | 129 | // shape would strand them, so sweep the prefix. `xspeed-pro`'s rows |