Opened 4 years ago
Last modified 4 years ago
#50472 new defect (bug)
wp core download --skip-content doesn't create empty "plugins" dir
Reported by: | asafgreen | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.5 |
Component: | Upgrade/Install | Keywords: | |
Focuses: | Cc: |
Description
(Migrated from https://github.com/wp-cli/wp-cli/issues/5410)
According to docs, wp core download --skip-content doesn't install default plugins.
However, it doesn't also creates the wp-content/plugins/ sub-directory itself.
The Problem: Some wordpress parts assume it exists, and fail when trying to deploy plugins or themes.
For example:
- Install wordpress importer will always fail in this situation, without a reason, and without an error log entry.
- It's impossible to install new plugins or themese from via UI.
Please create /plugins/ & /themes/ directories even if they're empty, when deploying any core format
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac! Thanks for the report.
Just to clarify, it looks like you were directed here because these are the issues that should be fixed in core:
As for
wp core download --skip-content
creating/plugins/
and/themes/
directories, that is specific to WP-CLI and should be suggested there.