• 3.7.0 54122d3d95

    v3.7.0 Stable

    javier released this 2026-11-04 13:43:39 +00:00 | 0 commits to main since this release

    3.7.0

    Release date: 2026-11-03

    Highlights

    • Import from other SEO plugins (spec section 5): on-demand migration of the noindex / nofollow flags stored by Yoast SEO, Rank Math, SEOPress and All in One SEO into noindex SEO per-post and per-term overrides — detected from data presence (the source plugin does not need to be installed), user-confirmed, and never overwriting content that already has its own override.
    • Virtual robots.txt management (spec section 7): block (Disallow: /) or allow (Allow: /) individual crawlers, appended to the robots.txt WordPress generates virtually — never replacing it — with one-click presets for the well-known AI and search-engine crawlers. Inactive by default.

    Added

    • Import from other plugins. A new section on the Import / Export tab lists every supported source plugin together with how many posts and terms carry its robots flags, and imports the checked ones on explicit confirmation. The runner converts source flags into granular overrides (_noindex_seo_override=1 plus noindex / nofollow), skips and reports content that already carries a noindex SEO override row (an explicit "off" counts as data), re-verifies LIKE-based matches (Rank Math's serialized arrays) per post so false positives are dropped, and whitelists source slugs server-side. Sources are data-driven and filterable (noindex_seo_import_sources) so third parties can register or correct one.
    • Robots.txt tab. A fourth settings tab manages up to 30 bot rules (User-agent token + block/allow policy; * wildcard supported, duplicates collapse, agents stripped to the robots.txt-legal charset). The rules are appended through core's robots_txt filter only while the feature is enabled, a live preview shows the exact block appended, and preset buttons add the well-known AI crawlers (GPTBot, ClaudeBot, Google-Extended, CCBot, Bytespider… — filterable via noindex_seo_ai_bots) or the main search engine crawlers (noindex_seo_search_bots) as blocked rules. The core output — and a physical robots.txt or "Discourage search engines" — always takes precedence.
    • The robots.txt settings ride the consolidated option and the JSON export/import.

    Changed

    • The settings page gained a fourth tab (General / SEO Settings / Import-Export / Robots.txt); the rule-table JavaScript is now shared between the conditional rules and the robots.txt tables, scoped per container.

    Fixed

    • Block editor granular overrides now save on custom post types registered without custom-fields support (a very common CPT registration). Without that support the REST API exposes no meta field for the post type, so the editor sidebar's saves were silently dropped with an HTTP 200 — the override checkbox appeared to do nothing. The plugin now adds custom-fields support for exactly the post types it registers meta on (while per-post granular control is enabled).

    Security

    • No new attack surface: the import handler is manage_options + nonce gated with whitelisted sources, writes only through the meta API after re-reading each source flag, and skips content with existing override data; robots.txt agents are charset-stripped (no newline or comment injection into the file) and policies are whitelisted; the tab form rides the existing nonce + capability path. PHPCS/PHPStan/composer audit clean.

    Compatibility

    • WordPress: 7.0 - 7.2
    • PHP: 8.3 - 8.6

    Tests

    • PHPUnit: 9.6.38 (230 tests, 1152 assertions, all passing) on the WordPress 7.2-beta3 test library, run under PHP 8.3, 8.4, 8.5 and 8.6.0RC3 — including the new robots.txt sanitization/output/filter/form suites and the import detection/conversion/never-overwrite/false-positive/handler suites.
    • PHPCompatibility: 0 errors on the declared range 8.3-8.6 and on the full review range 5.6-8.6.
    • PHPCS (WordPress-Core, -Docs, -Extra) and PHPStan level 9: 0 errors.
    • Translations: Catalan and Spanish catalogs regenerated and 100% complete (209 strings each).
    Downloads