Uncomment needed function in wp_upgrade(). These should have been uncommented in the previous commit.