-
v1.1.0 Stable
released this
2026-03-28 07:59:56 +00:00 | 0 commits to main since this release1.1.0
Release date: 2026-03-28
Fixed
- Fatal
TypeErrorinhandle_thumbnail_change(): thedeleted_post_metaaction passes an array of meta IDs as its first argument (unlikeupdated_post_meta, which passes a singleint). The method signature now acceptsint|arrayto handle both actions correctly.
Security
- Added SSRF protection in
Robotstxt_OG_Image_Resolver::is_safe_url(): all outbound HTTP HEAD requests now validate that the target host resolves to a public IP address. Private (RFC 1918), loopback, link-local, and reserved ranges are blocked. - Replaced deprecated
FILTER_SANITIZE_SPECIAL_CHARSwithFILTER_SANITIZE_FULL_SPECIAL_CHARSin nonce and input handling throughout admin and meta box classes.
Added
- GDPR Privacy API: registered
wp_privacy_personal_data_exportersandwp_privacy_personal_data_erasersfilters. Custom_og_titleand_og_descriptionpost meta are now included in WordPress personal data export and erase requests. - PHPUnit 10 test suite using Brain\Monkey for WordPress function mocking. Covers SSRF IP validation, image format detection (
ensure_compatible_format()), external URL detection, and cache clearing. No WordPress installation required to run tests (vendor/bin/phpunit).
Changed
- Settings page and REST API permission check changed from
manage_optionstoedit_others_posts. Editors and above can now access OG settings and trigger fallback image resolution. The WordPress Settings API form is unlocked via theoption_page_capability_robotstxt_og_settingsfilter. - REST API
check_permission()now also verifiesedit_postfor the specific post ID requested. - Minimum supported WordPress version raised from 6.7 to 6.8 (two previous major versions back from WordPress 7.0).
- Added
Network: trueplugin header, formally documenting Multisite compatibility.
Tests
- WordPress: 6.8, 6.9, 7.0
- PHP: 8.2, 8.5
- PHP_CodeSniffer: 3.13.5
- WordPress Coding Standards: 3.3.0
- PHPCompatibility: 9.3.5
- PHPStan: level 9
- PHPUnit: 10.5
Downloads
-
robotstxt-og-1.1.0.zip
5 downloads ·
2026-03-28 07:58:33 +00:00 · 72 KiB
- Fatal