PluginProbe
Hostinger Tools / 3.0.41
Hostinger Tools v3.0.41
3.0.77 3.0.76 3.0.75 3.0.74 3.0.73 3.0.72 3.0.71 3.0.70 3.0.69 3.0.68 3.0.67 3.0.66 1.8.1 1.8.2 1.8.3 1.9.1 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.4 All 108 releases
← All changes | includes/Admin/Options/PluginOptions.php +2 -17 3.0.753.0.41 View file →
@@ -44,13 +44,8 @@
44 44 */
45 45 private bool $enable_llms_txt = false;
46 46
47 47 /**
48 - * @var bool
49 - */
50 - private bool $optin_mcp = false;
51 -
52 - /**
53 48 * @param array $settings plugin settings array.
54 49 */
55 50 public function __construct( array $settings = array() ) {
56 51 $this->maintenance_mode = ! empty( $settings['maintenance_mode'] );
@@ -59,9 +54,8 @@
59 54 $this->force_https = ! empty( $settings['force_https'] );
60 55 $this->force_www = ! empty( $settings['force_www'] );
61 56 $this->disable_authentication_password = ! empty( $settings['disable_authentication_password'] );
62 57 $this->enable_llms_txt = ! empty( $settings['enable_llms_txt'] );
63 - $this->optin_mcp = ! empty( $settings['optin_mcp'] );
64 58 }
65 59
66 60 /**
67 61 * @return bool
@@ -162,20 +156,12 @@
162 156 public function get_enable_llms_txt(): bool {
163 157 return $this->enable_llms_txt;
164 158 }
165 159
166 - public function set_enable_llms_txt( bool $llmstxt_enabled ): void {
167 - $this->enable_llms_txt = $llmstxt_enabled;
160 + public function set_enable_llms_txt( bool $enable_llms_txt ): void {
161 + $this->enable_llms_txt = $enable_llms_txt;
168 162 }
169 163
170 - public function get_optin_mcp(): bool {
171 - return $this->optin_mcp;
172 - }
173 -
174 - public function set_optin_mcp( bool $optin_mcp ): void {
175 - $this->optin_mcp = $optin_mcp;
176 - }
177 -
178 164 /**
179 165 * @return array
180 166 */
181 167 public function to_array(): array {
@@ -186,8 +172,7 @@
186 172 'force_https' => $this->get_force_https(),
187 173 'force_www' => $this->get_force_www(),
188 174 'disable_authentication_password' => $this->get_disable_authentication_password(),
189 175 'enable_llms_txt' => $this->get_enable_llms_txt(),
190 - 'optin_mcp' => $this->get_optin_mcp(),
191 176 );
192 177 }
193 178 }