Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
1  
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

2 Answers 2

up vote 7 down vote accepted
+50

http://wordpress.org/extend/plugins/wordpress-beta-tester/

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

 
discard

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.