WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I customized a few sites. On my own i updated wordpress by diffing the (old) version and my site. Than i moved the folder away and put the new wordpress version and applied the patch. It seemed to work perfectly but binary files were missing (specifically plugin images). So i copied/overwrote the plugin folder.

I have a feeling i was lucky that it worked and i didnt do this right. Is diff/patch a good way to update wordpress? Should i be diffing my site from WP and apply it to the new version? Or should i diff the old version and new version than apply that patch to my site? There is also the issue about binary files. How do i update wordpress on customized sites?

share|improve this question

If you're editing core WordPress code then stop! You should be developing plugins/themes etc on top on the WordPress core files not editing them.

Editing core files could create security problems and any number of things, especially if the code in the update conflicts with code you've changed.

Best bet is to update WordPress and plugins either over FTP on using the update scripts within the admin.

share|improve this answer
1) I'm editing only the files in themes 2) FTP overwrites. 3) Are you saying just replace all the files except in wp-content? – acidzombie24 Jan 27 '12 at 15:57
1) If you're editing themes, just make a child theme of the theme you want to edit. Then make your own custom theme files to overwrite the parent themes. 2) FTP is fine 3) If you're updating WordPress then yes just don't replace wp-content. – Alex Older Jan 30 '12 at 8:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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