← All changes
|
includes/abilities/settings/class-get-robots-txt.php
+2
-2
2.0.1
→
2.8.0
View file →
| @@ -25,9 +25,9 @@ | ||
| 25 | 25 | */ |
| 26 | 26 | public function __construct() { |
| 27 | 27 | $this->id = 'thinkrank/get-robots-txt'; |
| 28 | 28 | $this->label = __( 'Get ThinkRank Robots.txt', 'thinkrank' ); |
| 29 | - $this->description = __( 'Retrieve the ThinkRank robots.txt: both the stored custom override (may be empty) and the "rendered" content actually served to crawlers, which includes the auto-generated default rules when no override is set.', 'thinkrank' ); | |
| 29 | + $this->description = __( 'Retrieve the ThinkRank robots.txt: both the stored custom override (may be empty) and the "rendered" content actually served to crawlers, which includes the auto-generated default rules when no override is set. Use update-robots-txt to replace it.', 'thinkrank' ); | |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * {@inheritDoc} |
| @@ -52,9 +52,9 @@ | ||
| 52 | 52 | public function get_input_schema() { |
| 53 | 53 | return [ |
| 54 | 54 | 'type' => 'object', |
| 55 | 55 | 'additionalProperties' => false, |
| 56 | - 'properties' => [], | |
| 56 | + 'properties' => self::empty_properties(), | |
| 57 | 57 | ]; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |