-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wp-now: Allow
plugins
, themes
or wp-content
for 'wp-content' mo…
…de (#377) Fixes #376 ## What? Allows the existence of `plugins`, `themes`, or `mu-plugins` to trigger 'wp-content' mode. Previously, 'wp-content' mode required both `themes` and `plugins`. ## Why? Some 'wp-content' projects may only have a `themes` or `plugins` directory at the beginning. ## Testing Instructions 1. Tests should pass. 2. Run `nx preview wp-now start --path=/path/to/wp-content-project` and verify the server starts as expected. 3. Run `nx preview wp-now start --path=/path/to/plugin-project` and verify the server starts as expected. 4. Run `nx preview wp-now start --path=/path/to/wordpress-project` and verify the server starts as expected.
- Loading branch information
1 parent
f5e1654
commit a38fa9a
Showing
4 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
File renamed without changes.
Empty file.
This file contains 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
This file contains 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