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

Đang mở
#439 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@leonidasmi đang làm issue này rồi.

Từ ngày 20/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.
Ngôn ngữ chính
JavaScript
Star
14
Fork
22
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Yoast/developer

Tất cả issue của Yoast/developer

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.