Skip to content

Update compatibility for WordPress 7 and PHP 8.4 - #157

Open
rickcurran wants to merge 30 commits into
voceconnect:masterfrom
rickcurran:codex/modernize-light-touch
Open

Update compatibility for WordPress 7 and PHP 8.4#157
rickcurran wants to merge 30 commits into
voceconnect:masterfrom
rickcurran:codex/modernize-light-touch

Conversation

@rickcurran

@rickcurran rickcurran commented Jul 29, 2026

Copy link
Copy Markdown

Summary

This is a light-touch maintenance release focused on restoring current compatibility and WordPress.org readiness, no new features added etc. The intention is basically to bring it up to speed for WordPress 7.0, fix a few necessary issues in the process, and get an up-to-date version back in the plugin directory:

  • Confirms compatibility with WordPress 7.0 and PHP 8.4
  • Prevents PHP dynamic-property deprecations
  • Updates the legacy admin JavaScript for modern jQuery
  • Hardens AJAX validation, generated admin markup, direct-file access, and original-image URLs
  • Fixes metadata cache invalidation when a selected attachment is deleted
  • Versions admin assets so plugin updates invalidate browser caches
  • Adds WordPress integration tests, PHP compatibility analysis, and WordPress.org Plugin Check CI
  • Prepares version 1.8 and its changelog

Most added lines are test infrastructure, CI configuration, and dependency lock data; the production-code changes remain deliberately small.

Compatibility

The existing public class, method signatures, hooks, filters, metadata keys, and legacy media fallback are preserved.

The minimum WordPress version is corrected from 2.9.2 to 3.0 because the existing implementation uses get_upload_iframe_src(), which was introduced in WordPress 3.0.

The commits are intentionally small and narrowly scoped so individual changes can be reviewed independently.

Validation

  • PHP compatibility check: PHP 5.6+
  • WordPress 6.7 / PHP 7.4 integration tests
  • WordPress 7.0.2 / PHP 8.4 integration tests
  • WordPress.org Plugin Check
  • Composer dependency advisory audit
  • Manual WordPress 7.0.2 / PHP 8.4 editor test with no debug-log errors

Final CI runs:

User impact

No new functionality is introduced. Existing integrations and stored thumbnail metadata remain compatible, while current WordPress and PHP installations receive a maintained release that can be published as version 1.8.

Thanks! - Rick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant