Skip to content

Add WordPress 7.0 compatibility#450

Draft
JanJakes wants to merge 4 commits into
trunkfrom
wp-7.0
Draft

Add WordPress 7.0 compatibility#450
JanJakes wants to merge 4 commits into
trunkfrom
wp-7.0

Conversation

@JanJakes

@JanJakes JanJakes commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

Mark the SQLite plugin as tested up to WordPress 7.0, and:

  • Update the WordPress test environment from 6.7.2 to 7.0.1.
  • Normalize non-padded temporal literals used by WordPress 6.8 and later.
  • Remove WordPress test failures that now pass.

Why

Make sure the SQLite plugin is tested up to WordPress 7.0.

Normalize date literals generated by WordPress 6.8 and later. WordPress 6.8 changed get_calendar() to generate date bounds with integer month components, producing literals such as 2026-2-01. MySQL interprets these values as dates, while SQLite compares temporal strings lexically. Normalizing the components preserves correct calendar queries.

Verification

CI passing with tests updated to use WordPress 7.0.

JanJakes added 3 commits July 13, 2026 11:44
Update the WordPress test environment and remove the Site Health failure that no longer occurs.
WordPress 6.8 changed get_calendar() to generate date bounds with integer month components, producing literals such as '2026-2-01'. MySQL treats those values as dates, while SQLite compares the stored values as text. Normalize non-padded temporal components so calendar queries continue to work after moving the test environment from WordPress 6.7.2 to 7.0.1.
Match MySQL affected-row semantics when a deterministic filtered UPDATE leaves stored values unchanged.
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