release: 1.0.13 — WP 7.1 compat bump - #31
Merged
Merged
Conversation
Verified against WordPress 7.1-RC3 in a sandbox (wp-playground CLI, PHP 8.3). The server-side upload pipeline works unchanged: wp_handle_upload and wp_generate_attachment_metadata filters fire with the expected shapes, and all ODR-registered sub-sizes (odr_content_optimized, odr_content_retina, odr_mobile_optimized, odr_tablet_optimized) are generated correctly. WP 7.1's new client-side media processing pre-processes uploads in the browser but preserves the server-side hook contract this plugin relies on, so no behavior changes are required. Bumped Tested up to (7.0 → 7.1) and Stable tag (1.0.12 → 1.0.13) in both readme.txt and the plugin header.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tested up tofrom 7.0 → 7.1 andStable tagfrom 1.0.12 → 1.0.13 inreadme.txtand the plugin header.1.0.13entry toreadme.txt(Changelog + Upgrade Notice) andCHANGELOG.md.Why
WP.org sent the standard "WordPress 7.1 field guide — is your plugin ready?" email ahead of the 2026-08-19 release. Two areas of 7.1 could plausibly affect this plugin:
wp_handle_uploadandwp_generate_attachment_metadatafilters receive.Verification
Stood up a WordPress 7.1-RC3 sandbox with
wp-playgroundCLI (PHP-WASM 8.3 + SQLite, no Docker), auto-mounted this plugin, and drove the Media Library upload path with Playwright.Confirmed clean on 7.1-RC3:
wp_handle_uploadat class-optimizer.php:65 still fires with the expected$uploadarray shapewp_generate_attachment_metadataat class-resizing-processor.php:53 still fires; all four ODR-registered sub-sizes are generated by core (odr_content_optimized,odr_content_retina,odr_mobile_optimized,odr_tablet_optimized)Conclusion: WP 7.1's client-side media processing preserves the server-side hook contract this plugin depends on. No code changes needed — just the compat marker bump.
Environmental limitation: End-to-end WebP conversion was not exercised in the sandbox because the plugin's own 100MB
WP_MEMORY_LIMITguard at class-optimizer.php:223 tripped in the WASM PHP environment. On a normal PHP-FPM host with 256MB+ that guard passes. Worth noting as a follow-up (hair-trigger for shared hosts on 128MB), but out of scope for this PR.Test plan
mainv1.0.13onmain— fires theWPORG_SVN_*deploy workflowTested up to: 7.1after deployStable tagline resolves to the correct SVN tag path (previous drift causedtags/refs/heads/main; fixed in 1.0.10)chore/tested-up-to-7.0branch (that unmerged work is the likely source of the SVN=7.0.4 vs local=7.0 drift and is now superseded)