Skip to content

v1.20.0

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Jun 13:49
· 3 commits to 1.x since this release
1ed1841

Added

  • Added support for a configurable wp-content directory name via the WP_CONTENT_DIR_NAME environment variable.
    Mantle previously hard-coded wp-content when detecting whether the codebase already lives inside a WordPress installation and when resolving the installation root. This broke custom layouts such as Bedrock (which uses app). The directory name now defaults to wp-content and can be overridden with WP_CONTENT_DIR_NAME. Setting it to a value that does not appear in the project path also lets a plugin/theme that lives inside a WordPress install opt into an isolated test installation.

Changed

  • The mantle-framework/testing package is now fully PSR-4 compliant: files and directories were renamed to match their class/trait names. Class and trait names are unchanged, so this is not a breaking change.