PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.14.2
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.14.2
2.14.2 2.14.1 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 All 57 releases
← All changes | uninstall.php +21 -0 2.14.1 → 2.14.2 View file →
@@ -259,8 +259,29 @@
259 259 $wpdb->esc_like('_transient_timeout_thinkrank_pro_') . '%'
260 260 )
261 261 );
262 262 // phpcs:enable WordPress.DB.PreparedSQL.InterpolatedNotPrepared,WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching
263 +
264 + // Names the wildcards above cannot reach (#918).
265 + //
266 + // The usage tracker stores the deactivation survey under
267 + // `wpins_deactivation_{reason,details}_{plugin}`, which `wpins_thinkrank_%`
268 + // misses. Named exactly: widening to `wpins_%` would delete the state of
269 + // every other plugin that ships the same telemetry SDK.
270 + foreach (['wpins_deactivation_reason_thinkrank', 'wpins_deactivation_details_thinkrank'] as $option) {
271 + delete_option($option);
272 + }
273 +
274 + // Search Console caches that versions before 2.14.2 wrote under unprefixed
275 + // names (2.14.2 moved them to the `thinkrank_` prefix, see #918).
276 + // They expire within three days of the upgrade, but uninstalling inside
277 + // that window would otherwise leave the site's search queries behind.
278 + foreach (['7d', '30d', '90d', '14d', '60d', '180d'] as $range) {
279 + delete_transient('analytics_dashboard_v5_' . $range);
280 + }
281 + foreach (['7d', '30d', '90d'] as $range) {
282 + delete_transient('seo_opportunities_' . $range);
283 + }
263 284 }
264 285
265 286 /**
266 287 * Remove user meta data