Skip to content

Sync with upstream trunk (1 commit) - #6

Merged
batonac merged 2 commits into
d1-supportfrom
upstream-sync
Aug 12, 2026
Merged

Sync with upstream trunk (1 commit)#6
batonac merged 2 commits into
d1-supportfrom
upstream-sync

Conversation

@batonac

@batonac batonac commented Aug 12, 2026

Copy link
Copy Markdown
Member

Automated sync of WordPress/sqlite-database-integration@trunk into d1-support.

This pull request tracks every upstream commit that has not landed on d1-support yet.
It is updated in place as upstream moves, and merges itself once the merge is clean and
every check is green. While it is open, it needs a person.

Upstream commits (1)


Branch shape: merged. Maintained by upstream-sync.yml. Closing this pull request is not permanent — the next scheduled run reopens it. Disable the workflow to stop the sync.

JanJakes and others added 2 commits August 11, 2026 21:05
## Summary

Removes the driver's dependency on WordPress's `absint()` helper in
`INET_ATON()`. The replacement uses native PHP logic, allowing the
Composer package to run in standalone PHP applications.

A regression test covers the function through the public PDO-compatible
API. The package test suite and coding-standards check pass.

## Why

The standalone Composer package autoloads the driver outside WordPress.
Calling `INET_ATON()` previously failed because `absint()` is not
available in standalone PHP applications.
@batonac batonac added the upstream-sync Automated sync with the WordPress upstream label Aug 12, 2026
@batonac
batonac merged commit 2d1d5dd into d1-support Aug 12, 2026
35 of 36 checks passed
@batonac
batonac deleted the upstream-sync branch August 12, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream-sync Automated sync with the WordPress upstream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants