You've already forked wp-bootstrap
feat: add wp_bootstrap_should_render_template filter for plugin decoupling (v1.0.4)
Allows plugins and child themes to prevent the theme's TemplateController from rendering specific requests, enabling clean separation of concerns. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
12
CHANGELOG.md
12
CHANGELOG.md
@@ -2,6 +2,18 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [1.0.4] - 2026-02-11
|
||||
|
||||
### Added
|
||||
|
||||
- `wp_bootstrap_should_render_template` filter in `TemplateController::render()` — allows plugins and child themes to prevent the theme from rendering a specific request, enabling clean separation of concerns when plugins handle their own page rendering
|
||||
|
||||
## [1.0.3] - 2026-02-11
|
||||
|
||||
### Fixed
|
||||
|
||||
- Double `<h1>` headings on pages where plugins provide their own titles — `page.html.twig` now wraps `<h1>` in `{% if post.title is not empty %}` guard so plugins can suppress it by passing empty `post.title`
|
||||
|
||||
## [1.0.2] - 2026-02-10
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user