This is a very specific situation but here's my feedback on it.All plugins and themes in Wordpress are stored in ZIP files, and those ZIP files contain a main directory named with the slug of the plugin or theme (eg. 'my-cool-pagebuilder'). During installation, Wordpress decompresses the ZIP file directly into the /wp-content/plugins/ or /wp-content/themes/ directory. Since the ZIP file contains a main directory, the end result is that the plugin is always stored at the same place, eg. /wp-content/plugins/my-cool-pagebuilder/.However there is a problem if the ZIP file does not contain that main directory and just stores the files in the "root" directory. In this case, Wordpress will decompress the plugin or theme in a subdirectory with the same name of the file that has been uploaded.So if I name my ZIP file something like 'my-cool-pagebuilder-stable-version.zip' and that ZIP file does not have a main directory, Wordpress would end up placing it in the /wp-content/plugins/my-cool-pagebuilder-stable-version/ directory.I rename my plugins' and themes' ZIP files with their version number so that I can keep track of a few older versions in case I need to roll back something. And sometimes these ZIP files do not contain this main directory and thus when I upload a newer version I accidentally end up with two versions on the sites: /wp-content/plugins/my-cool-pagebuilder/ and /wp-content/plugins/my-cool-pagebuilder-stable-version/.And if that happens, now I have to go on each site and manually remove the duplicated plugin, because MainWP shows both as installed and active without any differentiation, and I cannot delete them from the MainWP dashboard.I'm aware that this is a very specific scenario, and of course it only happens if someone changes the name of the ZIP file like I do. This problem only happened a handful of times so it's no big deal.But my suggestion is to add some kind of warning, while uploading a plugin or theme, that the uploaded file does not contain a main directory and thus the operation could cause unexpected results.
Please authenticate to join the conversation.
In Review
Core Requests (Dashboard/Child)
Administrative
About 1 year ago

Imported from Legacy Board
Get notified by email when there are changes.
In Review
Core Requests (Dashboard/Child)
Administrative
About 1 year ago

Imported from Legacy Board
Get notified by email when there are changes.