Kaspars Dambis
kaspars.damb.is
Kaspars Dambis
@kaspars.damb.is
Full stack maker of things with passion for #WordPress, electronics, sustainable living, personal finance and teaching. Find me at https://kaspars.net and https://wpelevator.com
Has anyone had luck registering for AliExpress API access?

Getting auto-rejected and not sure what to try next.
November 28, 2025 at 6:09 PM
The #FAIR plugin for WP doesn’t like iOS Safari. Probably an outdated regex on user agent?
November 23, 2025 at 9:53 AM
Turns out HTTP Host headers can have a trailing dot (totally valid too) and nginx will happily forward it to php-fpm making $_SERVER['HTTP_HOST'] have a trailing dot which then fails all WP multisite domain lookups...

First time seeing this on a fresh nginx + php 8.4 setup.
November 21, 2025 at 8:51 PM
How do you profile PHPStan runs for performance issues?

It appears to be spawning a child process even if maximumNumberOfProcesses is set 1 which makes the core logic invisible to XDebug profiler.
November 21, 2025 at 11:08 AM
Trying out the new VS Code fork from Google.

Requires Google login to actually use it... not sure I like this direction.
November 21, 2025 at 7:45 AM
Feels like half the web is down now...
November 18, 2025 at 2:01 PM
Version 3.0.0 of the Minit plugin for WordPress now defers the script bundle by default and uses this trick to support scripts with "after" logic (which require the parent to be loaded).

Learn more here: github.com/kasparsd/minit
November 15, 2025 at 1:14 PM
Has anyone seen WP add ?_t=... to image URLs? Couldn't find anything in the codebase where this is happening.

This is causing WP to fail at generating the srcsets.
November 13, 2025 at 4:06 PM
Everyone on Twitter now...

The whole re-auth flow is completely broken. I'm using the correct key and it still goes into this infinite loop.
November 12, 2025 at 7:49 PM
Did you know that *.wpenv.net (all subdomains) point to 127.0.0.1?

Use it for local development and avoid editing hosts file or setting up custom NS resolver.
October 27, 2025 at 5:57 PM
Turns out you can still do that if the birthday is 18+. Only the kids accounts enforce gmail usage because of family link requirements/compatability. Probably similar to how workspace accounts can’t pay for youtube premium.
September 8, 2025 at 10:22 AM
First time seeing my blog mentioned in a Google AI overview. Remember hearing in a few recent interviews with Sundar Pichai that they're now adjusting the AI Overview placement to improve source attribution.
September 3, 2025 at 4:05 AM
GitHub web UI is getting slower every week! Doing code reviews is a pain now.

Use the GitHub Pull Request extension for VSCode to do them right in your editor -- leave inline comments, explore commit history, etc.
August 30, 2025 at 4:05 AM
Sharing my recent numbers not to brag but to get feedback.

I find it hard to make technical content engaging. What are the one or two things that have helped you get consistent replies and shares?
August 29, 2025 at 12:14 PM
So many of the AI crawlers don't use JS-enabled browsers so you need to access raw HTTP access logs to see the actual requests.

The problem is that most of this data is terminated at your CDN level and you might never know the true amount of referrals and crawlers.

Attached is OpenAI traffic.
August 29, 2025 at 4:05 AM
Has anyone built a WordPress version of Writebook for publishing books and manuals online?

Here is the link: once.com/writebook
August 28, 2025 at 12:14 PM
This is the amount of auth credentials Google expects you to pass for a simple API fetch from Google Analytics, for example. There is no way to do it with a simple API key string.

Wow!
August 28, 2025 at 4:05 AM
The combined WordPress documentation markdown files for LLMs now include the WP-CLI documentation!
August 26, 2025 at 12:14 PM
Which user capability should have access to this post meta inspector modal in WordPress? Possibly with an option to edit fields directly.
August 26, 2025 at 4:05 AM
Today I learned about Mermaid diagrams which are created from plain text. Turns out even GitHub markdown supports them and LLMs are great at generating them.

Checkout this GitHub issue for an example: github.com/fairpm/fair-...
August 25, 2025 at 12:14 PM
While researching the FAIR protocol implementation, played around with some ideas for the project logo.
August 24, 2025 at 10:34 AM
Ever wanted to track and find blocks, images or links across your WordPress content? With Asset Pilot you can do it all!
August 15, 2025 at 12:14 PM
What's your mental model of the WordPress block kitchen?
August 11, 2025 at 12:14 PM
Over the weekend I vibe-coded a fix for the #xhprof PHP profiler extension which was SEGFAULTING due to a memory issue on shutdown.

You can now safely exclude function names from profiling! I hope this gets merged and released with the PHP 8.4 support fixes that have landed already.
June 29, 2025 at 4:05 AM
I can't believe I missed the ActivityPub plugin documentation in the Help tab of the plugin settings. I wonder if these help tabs should be open by default when users visit the settings for the first time.
June 21, 2025 at 11:32 AM