Making WordPress.org

Opened 3 years ago

Closed 3 years ago

#4218 closed enhancement (fixed)

Link to latest.zip on Rosetta sites

Reported by: SergeyBiryukov Owned by: dd32
Milestone: Priority: normal
Component: International Sites (Rosetta) Keywords:


Previously: #1784

On the main WordPress.org site, the download link leads to the latest.zip file with the latest stable version. It can easily be used in scripts, CLI tools, etc.

On Rosetta sites, the download link includes the version number, so people cannot easily link to the latest version without specifying the exact number. See an example request on the forums.

Links like https://ru.wordpress.org/latest-ru_RU.zip are available, but are not mentioned anywhere and cannot be found unless you already happen to know the URL.

For consistency and better discoverability, download links on Rosetta sites should link to the latest.zip file for the locale.

Change History (2)

#1 @dd32
3 years ago

We should probably switch all of these over to using the download.wordpress.org hostname for consistency too, edit: but I guess the short urls are much more memorable..

You'll find them at the following URLs:
https://downloads.wordpress.org/release/latest.zip (en_US)

I was going to suggest switching the main download links to include a version number for consistency, but upon seeing that we do indeed serve content-disposition: attachment; filename= headers for the latest alias, I figured switching it's pointless (and was only going to lead to outdated cached pages)

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

#2 @dd32
3 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 8394:

WordPress.org: On localised sites, link to a latest-$locale.zip filename instead of including the version in the link.

This is to help surface the direct url which developers can rely upon.

Fixes #4218.

Note: See TracTickets for help on using tickets.