-
v3.1.1 Stable
released this
2026-08-07 11:58:37 +00:00 | 10 commits to main since this release3.1.1 [2026-07-18]
Security
- Tightened the ACL on the two REST endpoints introduced in 3.1.0. The original release used
__return_truefor bothpermission_callbacks, which would have leaked the full noindex configuration to anyone hitting/wp-json/noindex-seo/v1/settings. Fixed callbacks:/settingsnow requiresmanage_options. The consolidated array reveals the site's full SEO strategy in a single response, so it is admin-only./effective?post_id=Nis public only for posts withpost_status=publishand no password (the directives for those would appear in the HTML<meta>tag of the rendered page anyway). Drafts, private posts, scheduled posts, password-protected posts, and trashed posts requireedit_postcapability for the specific post.
Compatibility
- WordPress: 5.7 - 7.1
- PHP: 7.2 - 8.5
Tests
- Added 4 tests covering the new permission model: unauthenticated rejected on
/settings, editor rejected on/settings, unauthenticated/subscriber rejected on/effectivefor drafts, public access preserved on/effectivefor published posts.
Downloads
- Tightened the ACL on the two REST endpoints introduced in 3.1.0. The original release used