Conversation
docs: point the documentation submodule at block themes and script modules
…s one A site with no usable theme gets the generated one without a question; a site with one keeps it unless the answer is yes, now the default no, so --no-interaction never replaces a working theme. --activate and --no-activate settle it; pollora:install passes --activate. Activation goes through switch_theme(), so switch_theme and after_switch_theme fire.
feat: pollora:make:theme activates the theme only where the site needs one
Eleven checks, each from a failure met in practice and each printing the command that fixes it: the WordPress core patch and who owns __(), the patches lock, .env names, the discovery cache, the theme and its build, a symlinked theme directory, placeholders left in a copied template, pattern files WordPress never registers or has not cached, Route::wp() routes over a block theme's templates. The same list feeds WordPress's Site Health, which also checks that the theme's blocks are registered in a web request, the boot a console check cannot see.
The modules Vite serves import /@vite/client by its bare URL; enqueued with WordPress's version appended, the client loaded twice, as two modules with two HMR connections. Regression from v13.34.0-beta.
The build, symlink, placeholder and block checks now cover every Pollora plugin and enabled module, not only the theme. New: a hot file whose dev server is stopped or not exposed (DDEV's router answers 502 or 404, so a TCP probe is not enough), a build written to another folder than Pollora reads, blocks in the legacy resources/blocks, configuration or routes cached outside production.
fix: enqueue the Vite client with no version
fix: stop comparing a development build with releases
feat: pollora:doctor and Site Health checks for silent failures
fix: dispatch MenuDeleted with the menu delete_nav_menu passes
Gathers the [Unreleased] entries under the version. Points the documentation submodule at pollora:doctor and make:theme activation.
release: v13.34.0-beta.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v13.34.0-beta.2 — see #369 and CHANGELOG.