Make WordPress Core

Opened 12 years ago

Last modified 16 months ago

#28845 assigned enhancement

Better error messages when uploading theme as plugin and vice versa

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

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 (4)

#1 @chriscct7
11 years ago

  • Keywords needs-patch added

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


3 years ago

#3 @pbiron
3 years ago

  • Owner set to pbiron
  • Status newassigned

This ticket was mentioned in PR #8692 on WordPress/wordpress-develop by @karthikeya01.


16 months ago
#4

  • Keywords has-patch added; needs-patch removed
Note: See TracTickets for help on using tickets.