Title: Does updating overwrite code changes?
Last modified: August 20, 2016

---

# Does updating overwrite code changes?

 *  Resolved [Bad_Egg](https://wordpress.org/support/users/bad_egg/)
 * (@bad_egg)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/does-updating-overwrite-code-changes/)
 * I made changes to my site’s code in order to add epub and mobi file upload functionality
   as well as to fix consequent issues with Mac users. These changes affected the
   functions.php and, at the server end, the htaccess file. Previously, I also added
   Google Analytics code. In the past, when I upgraded to the next WP version I 
   don’t recall having any issues with the additional code being erased or overwritten,
   but I’d like to make sure before I do so now to 3.3. Does anyone know if updating
   will affect the changes I made?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [domino5702](https://wordpress.org/support/users/domino5702/)
 * (@domino5702)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/does-updating-overwrite-code-changes/#post-2474978)
 * Your fuctions.php is part of your chosen theme, therefore it is not affected 
   by an upgrade to a new version of WP – unless it is one of the standard themes
   that are shipped with it, i.e. Twenty Ten and/or Twenty Eleven.
 * As regards changes to your htaccess file – to the best of my knowledge it does
   not get changed in the upgrade process of 3.3, but why not pull a copy to your
   local hard drive, before updating.
 * As with previous major upgrades, be sure to backup your files and database and
   disable your plugins completely, before you begin.
 *  Thread Starter [Bad_Egg](https://wordpress.org/support/users/bad_egg/)
 * (@bad_egg)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/does-updating-overwrite-code-changes/#post-2475105)
 * Thanks. I would not have known to disable the plug-ins. Is there any advantages
   to upgrading to 3.3? I’m of the belief that one doesn’t upgrade until well after
   the upgrade is made available and bugs have been reported and fixed.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Does updating overwrite code changes?’ is closed to new replies.

## Tags

 * [updating](https://wordpress.org/support/topic-tag/updating/)
 * [wordpress 3.3](https://wordpress.org/support/topic-tag/wordpress-3-3/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Bad_Egg](https://wordpress.org/support/users/bad_egg/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/does-updating-overwrite-code-changes/#post-2475105)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
