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.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/abilities/settings/class-get-llms-txt-settings.php +6 -2 2.0.0 → 2.9.0 View file →
@@ -34,8 +34,9 @@
34 34 /**
35 35 * String-typed llms.txt keys.
36 36 */
37 37 private const STRING_KEYS = [
38 + 'delivery_mode',
38 39 'site_name',
39 40 'website_description',
40 41 'key_features',
41 42 'target_audience',
@@ -55,9 +56,9 @@
55 56 */
56 57 public function __construct() {
57 58 $this->id = 'thinkrank/get-llms-txt-settings';
58 59 $this->label = __( 'Get ThinkRank llms.txt Settings', 'thinkrank' );
59 - $this->description = __( 'Retrieve ThinkRank llms.txt settings, which describe the site to AI language models via the llms.txt file.', 'thinkrank' );
60 + $this->description = __( 'Retrieve ThinkRank llms.txt settings, which describe the site to AI language models via the llms.txt file. Use update-llms-txt-settings to change them, and generate-llms-txt to preview the result.', 'thinkrank' );
60 61 }
61 62
62 63 /**
63 64 * {@inheritDoc}
@@ -88,8 +89,11 @@
88 89 foreach ( self::STRING_KEYS as $key ) {
89 90 $props[ $key ] = [ 'type' => 'string' ];
90 91 }
91 92
93 + $props['delivery_mode']['enum'] = [ 'auto', 'static', 'dynamic' ];
94 + $props['delivery_mode']['description'] = __( 'How /llms.txt is served: "static" writes a physical file the web server answers, "dynamic" keeps the document in WordPress and serves it from PHP as UTF-8, "auto" prefers static on Apache/LiteSpeed but falls back to dynamic when the published file turns out to be served without a character set.', 'thinkrank' );
95 +
92 96 return $props;
93 97 }
94 98
95 99 /**
@@ -100,9 +104,9 @@
100 104 public function get_input_schema() {
101 105 return [
102 106 'type' => 'object',
103 107 'additionalProperties' => false,
104 - 'properties' => [],
108 + 'properties' => self::empty_properties(),
105 109 ];
106 110 }
107 111
108 112 /**