PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.10.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.10.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 1.0.0 1.0.1 All 51 releases
← All changes | includes/api/class-llms-txt-endpoint.php +8 -4 2.0.2 → 2.10.0 View file →
@@ -350,15 +350,19 @@
350 350 }
351 351
352 352 // A delivery-mode switch that could not move the already-published
353 353 // document leaves /llms.txt on the old path; say so instead of
354 - // reporting a clean save.
354 + // reporting a clean save. A switch that worked but landed on a
355 + // server that answers the file without a charset warns under its own
356 + // key — reporting that one as a failed switch misdescribes it.
355 357 $delivery_warning = $this->llms_txt_manager->delivery_switch_warning();
356 358
357 359 if ('' !== $delivery_warning) {
360 + $switch_failed = $this->llms_txt_manager->delivery_switch_failed();
361 +
358 362 return new WP_REST_Response([
359 363 'success' => true,
360 - 'delivery_switch_failed' => true,
364 + ($switch_failed ? 'delivery_switch_failed' : 'delivery_warning') => true,
361 365 'data' => [
362 366 'settings' => $settings,
363 367 'validation' => $validation
364 368 ],
@@ -806,9 +810,9 @@
806 810 'description' => 'Website description'
807 811 ],
808 812 'key_features' => [
809 813 'type' => 'string',
810 - 'description' => 'Key website features'
814 + 'description' => 'Key website features, one per line. A comma is part of a feature, not a separator.'
811 815 ],
812 816 'target_audience' => [
813 817 'type' => 'string',
814 818 'description' => 'Target audience'
@@ -856,9 +860,9 @@
856 860 'description' => 'Website description to optimize'
857 861 ],
858 862 'key_features' => [
859 863 'type' => 'string',
860 - 'description' => 'Key features to optimize'
864 + 'description' => 'Key features to optimize, one per line. A comma is part of a feature, not a separator.'
861 865 ],
862 866 'target_audience' => [
863 867 'type' => 'string',
864 868 'description' => 'Target audience information'