Opened 6 years ago
Last modified 6 years ago
#50472 new defect (bug)
wp core download --skip-content doesn't create empty "plugins" dir
| Reported by: | asafgreen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Upgrade/Install | Version: | 5.5 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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)
This ticket was mentioned in Slack in #cli by pbiron. View the logs.
6 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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-contentcreating/plugins/and/themes/directories, that is specific to WP-CLI and should be suggested there.