The getter looks like ceremony over a property and is the entire point of the release: with the read going through a method, where the value comes from…
The first release where installing a package is one command. Auto-discovery removes two config edits per package, and hides the fact that they happened.
Every class constant has been public since constants existed, so an internal lookup table intended as an implementation detail was part of the public API whether or not…
A child class could never remove a parameter type from a method it overrides, even though accepting more than the parent is safe by the same rule that…
An order, a refund and a subscription are all shop_order-ish posts and are not the same class, so code type-hinting WC_Order breaks the first time a refund arrives.…
A maintenance task run through wp eval-file has no arguments, no help, no progress and no exit code worth checking. Registering it as a command costs about ten…
November’s release adds object as a type, which sounds like it should let a function accept “any class” and be checked. It does exactly that and nothing more.…
Type-hinting array rejects a generator, and hinting Traversable rejects an array — so a function meant to consume a sequence either had no hint or forced the caller…