• 3.1.3 80b8db8289

    v3.1.3 Stable

    javier released this 2026-08-17 20:04:32 +00:00 | 0 commits to main since this release

    3.1.3

    Release date: 2026-08-17

    Highlights

    • Compatibility release: WordPress 4.0+ and PHP 5.6+ supported again (declared floors now match the real compatibility of the code), and branding moved to robotstxt.software.

    Added

    • Classic <meta name="robots"> output on wp_head for WordPress versions older than 5.7, restoring the pre-wp_robots fallback so the declared WordPress 4.0 floor is real. On WordPress 5.7+ the directives keep flowing through the core wp_robots API.
    • noindex_seo_get_cpt_label() helper returning a safe display label for custom post types on the settings page.

    Changed

    • Minimum requirements lowered back to WordPress 4.0 and PHP 5.6 in the plugin header, readme.txt, composer.json and phpcs.xml, verified with a full-range PHPCompatibility 5.6-8.5 scan (clean) and the WP-Compat report.
    • Plugin URI and Author URI now point to robotstxt.software.
    • register_setting() calls use the two-argument form: the $args array parameter requires WordPress 4.7+, and all sanitization already happens in the admin-post form handler.

    Fixed

    • Potential fatal errors on older WordPress versions: is_privacy_policy() (WP 5.2+), is_customize_preview(), get_term_meta() (WP 4.4+), register_post_meta(), register_term_meta(), wp_set_script_translations() (WP 5.0+) and WP_Screen::is_block_editor (WP 5.0+) are now guarded; the features that depend on them degrade gracefully instead of crashing.
    • Removed PHP 7-only syntax (strict types, scalar type hints, return type declarations, null coalescing operator) so the code parses and runs on PHP 5.6 as declared.
    • Restored the repository governance files (CLAUDE.md, .claude/settings.json) that were accidentally dropped from the repository during the 3.1.2 release cleanup.
    • Bundled translations (Catalan and Spanish) regenerated against the current source: 9 strings added in 3.0.2–3.1.0 are now translated, 7 fuzzy entries reviewed, 149 messages complete per locale with 0 untranslated and 0 fuzzy.

    Security

    • No security changes; the 5.6-8.5 PHPCompatibility scan, the dependency audit and the WordPress Coding Standards security sniffs are clean.

    Compatibility

    • WordPress: 4.0 - 7.1
    • PHP: 5.6 - 8.5

    Tests

    • PHP Coding Standards: 3.13.6
    • WordPress Coding Standards: 3.4.1
    • PHPUnit: 9.6.36 (71 tests, 385 assertions)
    Downloads