Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Sanitzer null check #419

Merged
merged 1 commit into from
Mar 20, 2025
Merged

Bugfix: Sanitzer null check #419

merged 1 commit into from
Mar 20, 2025

Conversation

chriszarate
Copy link
Member

The Sanitizer nuked nullable boolean false values (like 'required' => false) because false values are empty(). This fixes it and adds some additional tests.

@chriszarate chriszarate added the bug Something isn't working label Mar 13, 2025
Copy link

Test this PR in WordPress Playground.

@chriszarate chriszarate changed the title Fix Sanitzer null check Bugfix Sanitzer null check Mar 13, 2025
@chriszarate chriszarate changed the title Bugfix Sanitzer null check Bugfix: Sanitzer null check Mar 13, 2025
@chriszarate chriszarate merged commit 500df71 into trunk Mar 20, 2025
13 checks passed
@chriszarate chriszarate deleted the fix/sanitizer-null-check branch March 20, 2025 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants