Automatisch upgrade naar nog niet uitgebrachte versies WP

Hier heb ik toch wel een poos naar lopen zoeken:
Handig als je een site aan het bouwen bent terwijl je weet dat de nieuwe versie er bijna aankomt.

WP’s automatic upgrade can be used to automatically upgrade to betas and nightly builds for the development branch or the latest stable branch. To get onto a development upgrade path you must first make a small change to wp-includes/version.php.

The current release of WP is 2.9.2. If you peek in the version.php file, you will see this:

$wp_version = ‘2.9.2’;
If you would like to try out the latest development builds for the upcoming 3.0 release, change that line to this:

$wp_version = ‘3.0-dev’;
“dev” can be any string. The presence of a suffix on the version tells the automatic upgrade to put you on the upgrade path for 3.0 development releases. You will be able to automatically upgrade to each nightly, beta, and RC build for 3.0. Once the final 3.0 release comes out, automatic upgrade will upgrade you to that official release and put you back on the stable release path. To get back on the 3.0 development branch upgrade path after the release of 3.0, you would have to change your version to “3.0.1-dev”.



Author: Rian Rietveld

WordPress Engineer focussing on accessibility

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s