Opened 11 years ago
Last modified 2 months ago
#28845 assigned enhancement
Better error messages when uploading theme as plugin and vice versa
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-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 (4)
This ticket was mentioned in Slack in #core-upgrade-install by costdev. View the logs.
2 years ago
This ticket was mentioned in PR #8692 on WordPress/wordpress-develop by @karthikeya01.
2 months ago
#4
- Keywords has-patch added; needs-patch removed
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/28845