Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10590 closed feature request (duplicate)

Download Latest WordPress, Not Last One Found.

Reported by: dcole07 Owned by:
Priority: low Milestone:
Component: Upgrade/Install Version: 2.9
Severity: trivial Keywords:
Cc: Focuses:

Description

This is an edge case scenario that likely doesn't effect much of anyone, but if someone is running WordPress 2.8.2 and decides to upgrade right after WordPress 2.8.4 has been released, then they will upgrade to WordPress 2.8.3. This problem arises because WordPress doesn't check for new versions every second, so there is a small window of time were the newest version of WordPress your being told about isn't actually the most current version.

To fix this problem, I suggest WordPress upgrade to latest.zip, instead of the version number, e.g. wordpress-2.8.4.zip.

Change History (6)

#1 @Denis-de-Bernardy
17 years ago

  • Component Upgrade/InstallWordPress.org
  • Milestone 2.9Future Release
  • Owner changed from dd32 to ryan
  • Type defect (bug)feature request

This would actually depend on the wp.org API

#2 @dd32
17 years ago

Putting it in the wp.org API is a semi-good idea, But i think returning the static files is better than a file which will change from release to release.

I'd suggest just clearing the cache and forcing a new API request when the upgrade page is visited..

It'll have the benefit that people can even just visit their upgrade page and upgrade even if WordPress hasn't realised theres a new release available.

#3 @matt
17 years ago

  • Component WordPress.orgUpgrade/Install
  • Milestone Future Release2.9
  • Owner ryan removed

I agree with DD32, this is really more an issue that we shouldn't use the cached value when visiting the upgrade page manually, or at least have a re-check button.

#4 @ryan
17 years ago

We run wp_version_check() in update-core.php before showing anything. This forces a recheck every time update-core.php is loaded.

#6 @ryan
17 years ago

  • Milestone 2.9
  • Resolutionduplicate
  • Status newclosed
Note: See TracTickets for help on using tickets.