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

Aberta
#439 0 comentários 0 reações 1 responsável Ver no GitHub

@leonidasmi já está trabalhando nisso.

Desde 20/11/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.
Linguagem predominante
JavaScript
Estrelas
14
Forks
22
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Yoast/developer

Todas as issues de Yoast/developer

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.