Commit 90946ae
fix: also clear the quick site-information transient on reset
The reset_site_information feature only deleted the 24-hour slow
transient, leaving the 60-second quick transient intact. A page load on
the licence/dashboard/plugins page after a reset would read the stale
quick transient and re-populate the slow one with stale data, making
the reset ineffective.
Now both transients are cleared, matching what
WPSEO_Addon_Manager::remove_site_information_transients() does in
production.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 06a3c67 commit 90946ae
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
0 commit comments