On November 21, 2025 at 20:51

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.

On November 21, 2025 at 11:08

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.

On November 21, 2025 at 07:45

Trying out the new VS Code fork from Google.

Requires Google login to actually use it… not sure I like this direction.

On November 17, 2025 at 20:39

Cloudflare and other MITM proxies with TLS termination have access to your WP usernames and passwords, and every WooCommerce transaction (including customer billing and address data).

On November 13, 2025 at 16:03

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.

On November 12, 2025 at 19:49

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.

On November 12, 2025 at 13:09

Has anyone created a /metrics REST API endpoint for WordPress that reports data about the WP instance — object cache reads/writes/memory (from memcache/redis/apcu), php-fpm stats, system load, disk space, etc.

Ideally, with Prometheus and OpenTelemetry output formats.

On November 7, 2025 at 14:48

Here is a tip — you don't need the defined( 'ABSPATH' ) checks in class files that don't run any code. PHP will simply do nothing when a class definition is loaded.

I've noticed that AI is prone to adding it because of how WP core uses outside of class files.

On November 4, 2025 at 20:39

Cmd+Z for restoring recently closed tab is really nice. That key combo is muscle memory for global undo.

TIL: Zen browser and others use Cmd+Shift+T to do that.