PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.14.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.14.0
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 | includes/seo/class-email-report-config.php +2 -10 2.14.1 → 2.14.0 View file →
@@ -195,24 +195,16 @@
195 195 * hourly tick tries again; `no_data` is recorded by the generator after
196 196 * it has already pushed the schedule out a period. Either way the panel
197 197 * shows the reason and when it was last seen.
198 198 *
199 - * `fetch_failed` (#912) is recorded by the generator when Search Console
200 - * answered with an error; it carries the API's message so the panel can
201 - * say what went wrong, and the schedule was moved to a retry.
202 - *
203 - * @param string $reason Machine-readable reason.
204 - * @param string $message Optional plain-text detail, e.g. the API error.
199 + * @param string $reason Machine-readable reason.
205 200 */
206 - public function record_skip(string $reason, string $message = ''): void {
201 + public function record_skip(string $reason): void {
207 202 $stored = $this->stored();
208 203 $stored['last_skip'] = [
209 204 'reason' => sanitize_key($reason),
210 205 'at' => current_time('mysql'),
211 206 ];
212 - if ($message !== '') {
213 - $stored['last_skip']['message'] = sanitize_text_field($message);
214 - }
215 207 update_option(self::OPTION_KEY, $stored, false);
216 208 }
217 209
218 210 /**