0

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?

5

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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