WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 6 days 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)

#1 @SergeyBiryukov
3 months ago

  • Component changed from General to Upgrade/Install

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:

  • 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 themes via UI.

As for wp core download --skip-content creating /plugins/ and /themes/ directories, that is specific to WP-CLI and should be suggested there.

Last edited 3 months ago by SergeyBiryukov (previous) (diff)

This ticket was mentioned in Slack in #cli by pbiron. View the logs.


6 days ago

Note: See TracTickets for help on using tickets.