WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 20 months ago

#29798 new feature request

unified theme and plugin uploader

Reported by: svenl77 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: needs-patch
Focuses: administration Cc:

Description

Hi,

many users try to install plugins as themes and than they get a message stylesheet missing.

"The theme is missing the style.css stylesheet"

The same with installing themes as plugins.

"The package could not be installed. No valid plugins were found."

I think it would make it much easier for the people to make the upload unified and check the header to find out if its a theme or plugin and than just redirect to the correct page after the instal.

Or at least add a message "This is a plugin please go to this page to install it" and "This is a Theme please go to this page to install it"

Attachments (1)

29798.diff (3.0 KB) - added by mattyza 21 months ago.
First pass at adding detection, and notices, if a theme is uploaded to the plugins uploader and visa versa.

Download all attachments as: .zip

Change History (6)

#1 @joedolson
3 years ago

  • Focuses administration added; accessibility removed

#2 @DrewAPicture
3 years ago

  • Keywords close added
  • Type changed from enhancement to feature request

There is some discussion going on to improve at least the plugin installation process in 4.1. I don't think we'll be combining the workflows any time soon.

#3 @mattyza
21 months ago

Perhaps a lean solution to mitigate this issue would be to educate the user when they upload to the correct form.

While we could certainly take care of the upload correctly for them in the background (calling the theme uploader if we detect a theme in the plugins uploader, for example), this doesn't help to educate the user about what they've done incorrectly (so they'll learn the incorrect behaviour and just repeat it, because it gets the results they desire).

Perhaps a simple tweak to the error response messages, directing the user to the correct form, is a simple solution which can be forward-compatible as well.

cc @DrewAPicture @svenl77

@mattyza
21 months ago

First pass at adding detection, and notices, if a theme is uploaded to the plugins uploader and visa versa.

#4 @mattyza
21 months ago

For what it's worth, I attempted linking to the theme and plugin installers respectively, yet WP_Error strips out the HTML.

#5 @wonderboymusic
20 months ago

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