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.

Since all security releases are based on last released codebase + security patch, I think its safe to say WordPress security releases don't have database upgrades, but I figured I will ask my fellow developers here.

Does anyone know of a security release which had one? Or can anyone think of a case where it might have a database upgrade code within it?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

All the database upgrades can be seen in the code, in the wp-admin/includes/upgrade.php file. And yes, some of the point releases (including 3.5.2) contained "database upgrades".

Now, it is only very rarely that the actual database schema changes, but there are minor bugfixes in every point release, and sometimes they require a little database action. So while 3.5.2 had seven security related patches, it also contained a fix for multisite installs to fix an invalid site-option. This required a minor bit of code to change the data in the database.

Actual big DB operations almost always are limited to major releases, such as 3.5.0 or 3.4.0 and such, but some minor little bugfixes happen all the time.

share|improve this answer
    
Great info @otto thanks for sharing. –  Sagive SEO Aug 13 '13 at 22:49
    
Spot on. Thanks Otto! –  Ashfame Aug 13 '13 at 22:49

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.