← All changes
|
includes/abilities/settings/class-get-schema-settings.php
+3
-2
1.26.0
→
2.14.0
View file →
| @@ -35,8 +35,9 @@ | ||
| 35 | 35 | 'knowledge_graph', |
| 36 | 36 | 'website_enable_search', |
| 37 | 37 | 'enable_breadcrumbs_schema', |
| 38 | 38 | 'enable_local_business', |
| 39 | + 'enable_accordion_faq_schema', | |
| 39 | 40 | ]; |
| 40 | 41 | |
| 41 | 42 | /** |
| 42 | 43 | * Integer-typed schema keys. |
| @@ -102,9 +103,9 @@ | ||
| 102 | 103 | */ |
| 103 | 104 | public function __construct() { |
| 104 | 105 | $this->id = 'thinkrank/get-schema-settings'; |
| 105 | 106 | $this->label = __( 'Get ThinkRank Schema Settings', 'thinkrank' ); |
| 106 | - $this->description = __( 'Retrieve ThinkRank structured-data (schema) settings, including organization, website, local business, and person markup.', 'thinkrank' ); | |
| 107 | + $this->description = __( 'Retrieve ThinkRank structured-data (schema) settings, including organization, website, local business, and person markup. Use update-schema-settings to change them.', 'thinkrank' ); | |
| 107 | 108 | } |
| 108 | 109 | |
| 109 | 110 | /** |
| 110 | 111 | * {@inheritDoc} |
| @@ -153,9 +154,9 @@ | ||
| 153 | 154 | public function get_input_schema() { |
| 154 | 155 | return [ |
| 155 | 156 | 'type' => 'object', |
| 156 | 157 | 'additionalProperties' => false, |
| 157 | - 'properties' => [], | |
| 158 | + 'properties' => self::empty_properties(), | |
| 158 | 159 | ]; |
| 159 | 160 | } |
| 160 | 161 | |
| 161 | 162 | /** |