PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.12.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.12.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 1.27.0 1.26.0 1.25.0 trunk All 53 releases
← All changes | includes/integrations/class-google-pagespeed-client.php +6 -0 2.9.0 → 2.12.0 View file →
@@ -268,10 +268,16 @@
268 268 'test_url' => $test_url,
269 269 'performance_score' => $performance_score
270 270 ];
271 271 } catch (\Exception $e) {
272 + // `message` as well as `error`: the success branch above reports
273 + // its outcome as `message`, and every consumer reads that key, so
274 + // a failure that only set `error` was reported to the admin as an
275 + // error with no reason at all (#852). `error` is kept for any
276 + // caller that already reads it.
272 277 return [
273 278 'success' => false,
279 + 'message' => $e->getMessage(),
274 280 'error' => $e->getMessage()
275 281 ];
276 282 }
277 283 }