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).

  1. is valid concern?
  2. will well-written plugins account issue somehow?
  3. 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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -