WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Does updating overwrite code changes? (3 posts)

  1. Bad_Egg
    Member
    Posted 2 years ago #

    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?

  2. domino5702
    Member
    Posted 2 years ago #

    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.

  3. Bad_Egg
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic