You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.