Is database safe after merging a branch of a more recent version over an older one?

For DB upgrades wordpress compares the db version number it hs in the code to the one in the DB. It makes no difference how the new code got there as long as it is the correct one. Which begs to caution that if you go that way you should put wordpress into maintenance mode before pulling from git (I will admit of not doing that myself, but it is still a risk better avoided).

Leave a Comment