diff --git a/CHANGELOG.md b/CHANGELOG.md index a7e2b19d..477046a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/Pollora/framework/compare/v13.34.0...develop) +### Removed +- The `use_default_wp_theme_directory` key of `config/wordpress.php`. Nothing ever read it: setting it to `true` changed nothing, and themes always live in `themes/` (#297) + ### Fixed - `pollora:status` and the dashboard reported a post type or taxonomy under a slug derived from its class name, ignoring the attribute: `#[PostType('synthese-presse')] class SyntheseDePresse` was listed as `synthese-de-presse`, a post type that does not exist, and its `plural` label was ignored too. Both read the attribute now, through `PostType::resolveSlug()` / `Taxonomy::resolveSlug()`, the rule discovery registers with, so they cannot disagree again (#298) diff --git a/config/wordpress.php b/config/wordpress.php index 88c67e7f..be09c46c 100644 --- a/config/wordpress.php +++ b/config/wordpress.php @@ -49,15 +49,6 @@ 'is_subpage' => ['subpage', 'subpageof'], ], - /** - * Theme configuration. - * - * Controls whether Pollora framework should use the default WordPress theme directory. - * When enabled (true), Pollora will use the default WordPress theme directory. - * When disabled (false), Pollora will use the custom theme directory (./themes). - */ - 'use_default_wp_theme_directory' => false, - /** * Mail handling configuration. *