Make WordPress Core

Opened 10 years ago

Last modified 20 months ago

#28845 assigned enhancement

Better error messages when uploading theme as plugin and vice versa

Reported by: tollmanz's profile tollmanz Owned by: pbiron's profile pbiron
Milestone: Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: needs-patch
Focuses: administration Cc:

Description

When uploading a plugin package in the theme upload section, you will get an error message like:

Unpacking the package…

Installing the theme…

The package could not be installed. The theme is missing the style.css stylesheet.

Theme install failed.

You get a similar message when you try uploading a theme as a plugin.

Because a plugin or a theme package is detectable, the error message should be more helpful. It should point the user where to go to upload the package.

Ideally, we could just detect have the package installed anyone as the correct package type; however, for now, improved messaging could be really helpful.

Change History (3)

#1 @chriscct7
9 years ago

  • Keywords needs-patch added

This ticket was mentioned in Slack in #core-upgrade-install by costdev. View the logs.


20 months ago

#3 @pbiron
20 months ago

  • Owner set to pbiron
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.