• Resolved Bad_Egg

    (@bad_egg)


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

    (@bad_egg)

    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.