php - Running Wordpress updates while in production? -
we have production site powered wordpress. in experience, wordpress updates tend go pretty smoothly, every goes wrong , run updates locally or on our dev site first make sure nothing breaks.
my questions this: practice commit changes (from upgrade) locally , push changes production? ...effectively updating production site? seems work, know updates include modifications database. fear update modify local db, not production db , cause problems when newer code runs (expecting db have been modified).
- is valid concern?
- will well-written plugins account issue somehow?
- is there entirely different , better way this?
update: think purpose of question unclear. know can run update locally, test it, commit, run update in production, commit, merge. that's sucks , i'm not sure if it's necessary. point of question figure out, or learn better way. example, if knows definitive nature of wp updates , how handle db modifications, pretty answer question.
if able execute update in test environment, should able execute same update in production environment. might bit more work, going give information on whether or not update work.
if in virtualzied environment, should able copy production virtual machine test upgrade.
Comments
Post a Comment