Validate a WordPress setting with an allowlist
Accept exactly the values a feature understands, reject unexpected types, and test the difference between validation and sanitization.
Notes on building with code, thinking with new tools, and paying attention to the life happening around both.
Some pieces are practical, some are personal. All begin with a question.
4 stories
Accept exactly the values a feature understands, reject unexpected types, and test the difference between validation and sanitization.
Build a small resource card that keeps labels as text, contains quotation marks, and refuses unwanted URL protocols.
A small discount function shows why clear requirements, independent examples, and a readable diff matter when you work with an AI coding assistant.
A sorting bug, three objects, and a small test. A practical way to stop guessing and find the behavior that actually needs fixing.
A home for experiments, explanations, and personal stories: useful enough to return to, human enough to linger with.