wordpress

  • The font library, and the licences nobody had checked

    6.5 in April, fonts become something an editor can install, and a site with eleven web fonts of which four are loaded and unused.

  • register_block_type from a manifest, in one call

    Eleven blocks, eleven register_block_type calls, eleven block.json files read from disk on every request. Eleven file reads and eleven JSON parses on every request is not a lot…

  • A block style variation instead of a custom class

    A “quiet” button, applied by an editor adding a class in the advanced panel, which nobody could discover and half of them misspelled. A registered style appears in…

  • A font subset that halved the largest contentful paint

    A variable font covering Latin, Cyrillic and Greek, on a site that renders English and Turkish. Subsetting is the largest single win available on a page whose largest…

  • Twenty Twenty-Four as a reference, not a parent

    The 6.4 default theme is the clearest worked example of a pattern-driven block theme, and using it as a parent is a different decision entirely. Reading a default…

  • Block hooks, and the plugin that inserts itself

    6.4 in November, and a plugin that can insert a block without editing a template. Install instructions that said “now edit your footer”.

  • A style variation nobody ever selected

    Three style variations shipped with a theme, of which one was used, and the other two were maintained for two years. A style variation is a full alternative…

  • A transient that never expired because of one typo

    A transient set with a mismatched key on read, so every request wrote a new row and none was ever read. A transient with an expiry is only…

  • A custom post type the site editor can template

    A post type registered without the right arguments is invisible to the site editor, which means its template is still a PHP file. show_in_rest is the switch that…

  • HPOS, and reading the migration before enabling it

    High-Performance Order Storage moves orders out of the posts table, and the compatibility mode that writes to both is the part to plan around. The four queries were…