PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.9.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.9.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 1.27.0 1.26.0 1.25.0 trunk 1.0.0 1.0.1 1.0.2 All 50 releases
← All changes | includes/seo/class-performance-data-collector.php +8 -0 2.1.1 → 2.9.0 View file →
@@ -246,8 +246,16 @@
246 246 if ($this->collect_performance_data()) {
247 247 return;
248 248 }
249 249
250 + // Not-configured is a configuration state, not a failure: it is the
251 + // default for a fresh install, it never resolves on its own, and the
252 + // REST layer already reports it to the UI. Logging it wrote a line to
253 + // every unconfigured site's error log on every scheduled run (#585).
254 + if ($this->last_error_code === self::ERROR_NOT_CONFIGURED) {
255 + return;
256 + }
257 +
250 258 error_log( // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log -- the only record that a silent cron failure happened.
251 259 sprintf(
252 260 'ThinkRank [performance]: scheduled Core Web Vitals collection failed (%s) — %s',
253 261 $this->last_error_code !== '' ? $this->last_error_code : 'unknown',