Yoast SEO Abilities docs: note non-production availability on the post and term pages

Offen
#439 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@leonidasmi arbeitet bereits daran.

Seit 20.11.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

Follow-up to #431.

Availability on non-production sites

The post abilities (yoast-seo/get-post-seo-data, yoast-seo/update-post-seo-data) and the term abilities (yoast-seo/get-term-seo-data, yoast-seo/update-term-seo-data) are only registered when Yoast SEO builds its indexables. That is off by default on non-production environments, so the abilities are missing from the listing there. In the plugin, this is Abstract_SEO_Data_Ability::is_available().

analysis-scores.md already says this for the score abilities:

None of the three are available on non-production environments, where Yoast SEO's indexables, which the scores are read from, aren't built by default.

posts-seo-data.md and terms-seo-data.md don't mention it. Add a similar note to both.

Smaller points to look at

  • "Full definition" examples are shortened. author-schema.md, terms-seo-data.md, and posts-seo-data.md say the request "returns the complete definition", but the JSON leaves out some field descriptions. In author-schema.md, the twitter description is also cut off before its last sentence. Either say the examples are shortened, or paste the real output.
  • Undocumented error in author-schema.md. A user_id that doesn't match a user returns a 404 yoast_seo_user_not_found error.
Vorherrschende Sprache
JavaScript
Sterne
14
Forks
22
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Yoast/developer

Alle Issues in Yoast/developer

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.