Title: Official source for WordPress version
Last modified: August 19, 2016

---

# Official source for WordPress version

 *  [dsaunier](https://wordpress.org/support/users/dsaunier/)
 * (@dsaunier)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/official-source-for-wordpress-version/)
 * I wondered if and where is published the official version of WordPress, so that
   we could reliably grab it by one method or another.
    I am working on a wordpres
   version detection script for my hosting server, and would like an official, reliable
   source to read the current version from.
 * Any tip ?
 * Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/official-source-for-wordpress-version/#post-1807170)
 * [http://wordpress.org/download/](http://wordpress.org/download/)
 *  Thread Starter [dsaunier](https://wordpress.org/support/users/dsaunier/)
 * (@dsaunier)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/official-source-for-wordpress-version/#post-1807269)
 * I guess if the sentence “The latest stable release of WordPress (Version xxx)
   is available” never changes one bit, it could be done by scraping, but it’s not
   the strict method I’d like to use.
    My question was about being to read the version
   number and nothing else. Thanks.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/official-source-for-wordpress-version/#post-1807281)
 * The last version is listed at the bottom of [http://wordpress.org/download/release-archive/](http://wordpress.org/download/release-archive/)
   but there’s no way of knowing if the current version number incremented by 0.0.1
   or 0.1 etc.
 * Have a look in wp-includes/update.php in case there’s anything in there that 
   you could re-use.
 *  Thread Starter [dsaunier](https://wordpress.org/support/users/dsaunier/)
 * (@dsaunier)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/official-source-for-wordpress-version/#post-1807350)
 * The page bottom displays 3.0.2 whereas 3.0.3 just came out, so I guess I have
   to keep digging….
 *  Thread Starter [dsaunier](https://wordpress.org/support/users/dsaunier/)
 * (@dsaunier)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/official-source-for-wordpress-version/#post-1807353)
 * wp_version_check function within that file seems a good start, thanks.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/official-source-for-wordpress-version/#post-1807356)
 * No problem. I’m pretty sure there is a version check in core somewhere but the
   more recent recommendations for themes (and plugins) is to check for specific
   core functions as needed rather than relying on a version number check. So I’ve
   forgotten what I used to use a while back.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Official source for WordPress version’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/official-source-for-wordpress-version/#post-1807356)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
