← All changes
|
includes/abilities/analysis/class-get-seo-analyzer.php
+3
-3
2.0.0
→
2.8.0
View file →
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | * Returns the latest cached whole-site SEO audit (Site SEO Analyzer). |
| 21 | 21 | * |
| 22 | 22 | * Mirrors `GET /thinkrank/v1/seo-analyzer`: a crawl-free 0-100 audit with an |
| 23 | 23 | * overall score, letter grade, and per-check results across the Basic, |
| 24 | - * Advanced, Content, Performance, and Security categories. Distinct from the | |
| 24 | + * Advanced, Content, Performance, Security and GEO/AEO categories. Distinct from the | |
| 25 | 25 | * per-post `get-seo-score` ability. Returns the cached result when available |
| 26 | 26 | * (refreshed hourly); use `run-seo-analyzer` to force a fresh audit. |
| 27 | 27 | */ |
| 28 | 28 | class Get_Seo_Analyzer extends Ability_Base { |
| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | */ |
| 32 | 32 | public function __construct() { |
| 33 | 33 | $this->id = 'thinkrank/get-seo-analyzer'; |
| 34 | 34 | $this->label = __( 'Get Site SEO Analyzer Audit', 'thinkrank' ); |
| 35 | - $this->description = __( 'Retrieve the latest whole-site SEO audit (Site SEO Analyzer): overall 0-100 score, letter grade, summary counts, and per-check results across Basic, Advanced, Content, Performance, and Security. Returns the cached audit (refreshed hourly); use run-seo-analyzer for a fresh run.', 'thinkrank' ); | |
| 35 | + $this->description = __( 'Retrieve the latest whole-site SEO audit (Site SEO Analyzer): overall 0-100 score, letter grade, summary counts, and per-check results across Basic, Advanced, Content, Performance, Security and GEO/AEO. A failing per-item check (meta descriptions, image alt text, and the content-sampled GEO checks) lists what fails it in affected_posts (id, title, type, edit_url, url), with affected_total counting every failing item when the list is capped. Returns the cached audit (refreshed hourly); use run-seo-analyzer for a fresh run.', 'thinkrank' ); | |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * {@inheritDoc} |
| @@ -58,9 +58,9 @@ | ||
| 58 | 58 | public function get_input_schema() { |
| 59 | 59 | return [ |
| 60 | 60 | 'type' => 'object', |
| 61 | 61 | 'additionalProperties' => false, |
| 62 | - 'properties' => [], | |
| 62 | + 'properties' => self::empty_properties(), | |
| 63 | 63 | ]; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |