WordPress.org

Making WordPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#2334 closed defect (invalid)

Wordpress 4.7 zip file unzips to folder called "wordpress 3"

Reported by: pnoeric Owned by:
Milestone: Priority: normal
Component: General Keywords: close
Cc:

Description

  1. I downloaded Wordpress 4.7 zip file from https://wordpress.org/download/
  1. A zip file called "wordpress-4.7.zip" was downloaded to my hard drive
  1. When I unzipped the file, it produced a folder called "wordpress 3" (I expected "wordpress 4.7" or at least "wordpress 4")

FWIW it is WP 4.7 in the folder, it's just the folder name that is wrong.

Change History (7)

#1 @netweb
3 years ago

  • Keywords close added

@pnoeric Welcome to Trac, when I unzip it here locally it unzips to a folder named wordpress

If you already had folders named "wordpress" or "wordpress 1" and "wordpress 2" then I would expect that "wordpress 3" would be created, if you try to unzip the file again I expect it will unzip to "wordpress 4", and if you unzipped it again "wordpress 5"

#2 @pnoeric
3 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Ah yes. I’m a dope, that's what's going on. Please ignore ;-)

#3 @netweb
3 years ago

It's all good, better to be safe than sorry ;)

#4 @engelen
3 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

So... I would argue that this might be a valid ticket nonetheless. When extracting the folder "wordpress-4.7.zip", I also expect the resulting folder to be "wordpress-4.7", and not simply "wordpress". As many of us tend to downloads WordPress multiple times through the years and have a single "Downloads" folder, this tends to get clotted. For instance, when I need to test something with a previous version of WordPress, I always download it again — just to be sure.

Even without these reasons: in my opinion, it makes sense that an archive called "wordpress-4.7.zip" extracts to "wordpress-4.7". I'm interested in hearing more opinions on this. The only related topic on this I could find is https://wordpress.org/ideas/topic/remove-wordpress-folder-inside-zip-file.

Last edited 3 years ago by engelen (previous) (diff)

#5 follow-up: @pnoeric
3 years ago

FWIW obviously @engelen's suggestion would have prevented the issue that caused me to file this bug in the first place, so I'm in favor. :-) But really, I think his point about most people having a single "Downloads" folder, which gets filled with cruft quickly, is the heart of the matter. I also always download a fresh WP installer when I need one because who knows what versions of wordpress I've got floating in there (all in folders with the same generic name, "wordpress").

Changing the download folder name to include the version number does nothing but improve clarity. If it isn't onerous to implement on the admin side of things (i.e. preparing the download), I can't imagine why it would be a bad idea.

Last edited 3 years ago by pnoeric (previous) (diff)

#6 @Otto42
3 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

No, the WordPress ZIP itself contains a single folder called "wordpress" and it always has. The reason for this has to do with naming conventions for linux and other unix based software. The software is named "WordPress", not "WordPress-4.7". In the future, we hope to do away with version numbers entirely.

Nevertheless, if a change to this naming system is desired, then this really is a ticket for core trac, not for meta trac. Meta trac is about the WordPress.org website and changes to it, not to the core software, or to the conventions inherent to the ZIP file system.

#7 in reply to: ↑ 5 @Otto42
3 years ago

Replying to pnoeric:

If it isn't onerous to implement on the admin side of things (i.e. preparing the download), I can't imagine why it would be a bad idea.

Just a note: Many auto-installer systems exist which expect things to remain pretty much the same in layout from version to version. Having a changing folder name would likely break many of those installers.

Note: See TracTickets for help on using tickets.