WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I read somewhere that I can set a constant in the wp-config.php to update WordPress from the latest trunk version and not the stable version. Stupid as I am, I can't find the site anymore where it was written.

I know I could also update with SVN, but I thought the autoupdater was a smarter version.

share|improve this question
Here is the Codex entry for WordPress upgrade-related wp-config constants. I can't find anything in that section (or in the rest of the entry) regarding a constant to tell WordPress to update from trunk. – Chip Bennett May 12 '11 at 13:00
Here's the version-check function in core. It's not using any constants, and doesn't appear to be pluggable (i.e. I don't see any apply_filters, etc. – Chip Bennett May 12 '11 at 13:05
up vote 7 down vote accepted


Sets you up for the nightlies, if that is what you are looking for. I've got it running on my dev install @ cdn.rvoodoo.com. Works great there

share|improve this answer
I remember that there was an easier way to do that. It was a php define only. – Horttcore May 10 '11 at 9:57
There may be, but I've cruised through about 100 wp-config tutorials, and haven't found mention of it..... – Rev. Voodoo May 10 '11 at 11:32

There is no config setting or definition you can set that will automatically update WordPress.

Your options are to use the Beta Tester plugin, manually update, or do an svn up.

You could set up a cron job on your server to run the svn up command every 12 or 24 hours but if there is a database upgrade you will still have to manually push the "upgrade database" button.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.