v13.34.0-beta.2
Pre-release
Pre-release
·
27 commits
to main
since this release
Added
pollora:doctor: checks a project for the failures that stay silent — the site renders, the command exits 0 — and prints, under each, the command that fixes it. Each check comes from a failure met in practice: WordPress core not patched or__()not Pollora's;patches.lock.jsonmissing or older than the framework's patches;.envnames Pollora does not read (DB_NAME,WP_HOME…) or MySQL settings on a sqlite connection; configuration or routes cached outside production; classes missing from the discovery cache; for the theme, every Pollora plugin and every enabled module: a build missing, written to another folder than Pollora reads, or a hot file pointing at a dev server that is stopped or not exposed, a directory symlinked under another name,%theme_*%/%plugin_*%placeholders or.stubfiles left from a copied template, blocks still in the legacyresources/blocks; pattern files WordPress never registers or has not cached;Route::wp()routes answering in place of a block theme's templates.--jsonfor scripts; exits 1 on an error- The same checks in WordPress's Site Health (Tools › Site Health), with a "Pollora" badge, plus one that only a web request can make: every block of the theme, the Pollora plugins and the modules is registered. That is the boot a visitor gets — blocks were once registered under WP-CLI but not over HTTP, which a console check would have passed
Fixed
- Deleting a navigation menu (
wp menu delete, or the Menus screen) raised aTypeErroronce the menu was already gone:delete_nav_menuis thedelete_{$taxonomy}hook, which passes the term ID first, and the listener expected aWP_Term.MenuDeletednow receives the menu WordPress copied before deleting it - While Vite ran hot, its client was enqueued with WordPress's version appended (
@vite/client?ver=7.1.2). The modules Vite serves import/@vite/clientby its bare URL, so the browser loaded the client twice, as two modules with two HMR connections. It is enqueued with no version, like the entries (regression from v13.34.0-beta) - On a branch install (
dev-develop,13.x-dev), Site Health and the admin notice announced "Pollora 13.4.4 is available":version_compare()ranks a branch name below every release. A development build is no longer compared with releases — Site Health says it is one, the notice stays silent — and the dashboard, the admin menu badge andpollora:statusshare that one rule, which they each duplicated and missed13.x-dev. Site Health's info tab now labels the compared version "Latest stable version", since pre-releases are not counted
Changed
pollora:make:themeactivates the generated theme only where the site needs one. A site with no usable theme — a first install — gets it without a question; a site that already has one keeps it unless the answer is "yes", now the default "no", so--no-interactionnever replaces a working theme.--activateand--no-activatesettle it without asking, andpollora:installpasses--activate. Activation goes throughswitch_theme(), which firesswitch_themeandafter_switch_theme; the options were written directly before, so those hooks never ran