logoAbout Me: I'm a freelance web developer that specializes in WordPress Themes and plugin development. I've written about some of my projects here.
Hire me e-mail

Home / blog / Forcing a wordpress DB upgrade

I love the wordpress community, except the guy ranting/trolling about the security/privacy in 2.3. After sending an e-mail out to the [wp-hackers] list about the issue I had last night early this morning they not only showed me this in the codex but someone just updated it with full instructions.

FAQ Installation « WordPress Codex
How do you force a database upgrade?

Under certain situations, it may be necessary to cause a database to pass through the upgrade process again. To do that, you need to lower the db_version value in the wp_options table that corresponds to the version you want to upgrade from. For instance, if you want to force the database upgrade that happens from 2.0.11 to 2.3 you would change your db_version to 3441. To force an upgrade from 2.2, 2.2.1, 2.2.2, or 2.2.3 to 2.3, change that value to 5183.

”’db_version”’ for WordPress releases:

2.3 = 6124
2.2.3 = 5183

blog comments powered by Disqus