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

About the Author, Dan Cameron:

I'm the owner and solution engineer at Sprout Venture, a web solutions company that specializes in web development including WordPress.

I started my first blog in 2003 and transitioned to WordPress in 2004. Since moving to WordPress I've written a few plugins and themes for public consumption. Lately I'm busy engineering/building/coding and have only been able to share a few code snippets.

If you're in need of some web development, web design or custom WordPress plugins and/or themes contact me, I'll be happy to discuss it with you.

Read More »

blog comments powered by Disqus