← All changes
|
includes/abilities/import/class-detect-import-sources.php
+3
-3
2.0.0
→
2.9.0
View file →
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | /** |
| 21 | 21 | * Detects installed SEO plugins whose data can be imported into ThinkRank. |
| 22 | 22 | * |
| 23 | 23 | * Mirrors `GET /thinkrank/v1/import/detect`: returns the active source plugins |
| 24 | - * (Yoast, RankMath, SEOPress, AIOSEO) with per-type available counts, alongside | |
| 24 | + * (Yoast, RankMath, SEOPress, AIOSEO, Squirrly) with per-type available counts, alongside | |
| 25 | 25 | * any snapshots already captured. |
| 26 | 26 | */ |
| 27 | 27 | class Detect_Import_Sources extends Ability_Base { |
| 28 | 28 | /** |
| @@ -30,9 +30,9 @@ | ||
| 30 | 30 | */ |
| 31 | 31 | public function __construct() { |
| 32 | 32 | $this->id = 'thinkrank/detect-import-sources'; |
| 33 | 33 | $this->label = __( 'Detect SEO Import Sources', 'thinkrank' ); |
| 34 | - $this->description = __( 'Detect installed SEO plugins (Yoast, RankMath, SEOPress, AIOSEO) whose metadata can be imported into ThinkRank, with per-type available counts, plus any snapshots already captured.', 'thinkrank' ); | |
| 34 | + $this->description = __( 'Detect installed SEO plugins (Yoast, RankMath, SEOPress, AIOSEO, Squirrly) whose metadata can be imported into ThinkRank, with per-type available counts, plus any snapshots already captured. Start here: pass a detected source to preview-seo-import to see what an import would change, then run-seo-import to perform it.', 'thinkrank' ); | |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * {@inheritDoc} |
| @@ -57,9 +57,9 @@ | ||
| 57 | 57 | public function get_input_schema() { |
| 58 | 58 | return [ |
| 59 | 59 | 'type' => 'object', |
| 60 | 60 | 'additionalProperties' => false, |
| 61 | - 'properties' => [], | |
| 61 | + 'properties' => self::empty_properties(), | |
| 62 | 62 | ]; |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |