WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 6 weeks 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: trunk
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 (1)

#1 @SergeyBiryukov
6 weeks 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 6 weeks ago by SergeyBiryukov (previous) (diff)
Note: See TracTickets for help on using tickets.