Adding data to an existing REST response by filtering the prepared object is tempting and is the wrong hook — there is a registration function that also documents…
A process supervisor that quietly restarts a service is doing its job and hiding the problem, so a memory leak becomes a daily restart nobody knows about. The…
Disabling the REST API with a filter that returns an error for unauthenticated requests was a common hardening step, and on 5.0 it breaks the editor completely. The…
spl_object_hash returns a 32-character string that looks like a digest and is really an encoded pointer, and pointers get reused — so the identifier of a garbage-collected object…
Bootstrap 4 has five tiers and only four of them have an infix, which is why col-sm-6 exists and col-xs-6 does not. The reasoning is mobile-first — the…
AUTO_INCREMENT belongs to a table and produces a value only on insert, so two tables cannot share a numbering space and nothing can reserve a block of ids…
Every WordPress release means editing the same header line in every plugin readme, and doing it by hand is how one of them ends up claiming compatibility with…
A repository interface that returns Eloquent models and accepts query builders has not abstracted anything — it has renamed the ORM. The named method rather than a generic…
A snapshot that fails is regenerated with -u, and after the third time that becomes reflex — at which point the test asserts that the output equals whatever…
The full compiled stylesheet is around 150 kilobytes before compression, and most projects use the grid, some utilities and three components. The order is load-bearing: variables must come…