Title: Will Upgrade &#8216;Kill&#8217; My post.php??
Last modified: August 19, 2016

---

# Will Upgrade ‘Kill’ My post.php??

 *  Resolved [Matt Blank](https://wordpress.org/support/users/mattblank/)
 * (@mattblank)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/will-upgrade-kill-my-postphp/)
 * Hi guys,
 * I only started using WP about 4 weeks ago and this is my first notifcation of
   an upgrade needing.
 * I’ve altered a heap load of files to customise my admin section. To name a few:
   
   edit-form-advanced.php edit-page-form.php post-new.php as well as non admin files
   such as general-template.php
 * If I were to upgrade, which I suppose I should, the new version will overide 
   all the changes that took me about two weeks to implement!
 * Any ideas what I should do? Or could do for the future???
 * Thanks! Any advise would be appreciated!
    Matt

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/will-upgrade-kill-my-postphp/#post-672524)
 * Doesn’t look like any of those files were changed from 2.3.1 to 2.3.2.
 * Make backups of those files. Follow the procedures in [Upgrading WordPress Extended](http://codex.wordpress.org/Upgrading_WordPress_Extended)
   then put your ‘customized’ files back in place.
 * Backup backup backup is the key here.
 * [WordPress Backups](http://codex.wordpress.org/WordPress_Backups)
 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/will-upgrade-kill-my-postphp/#post-672525)
 * Hi. You can check out the [List of Revised Files](http://codex.wordpress.org/Version_2.3.2#List_of_Files_Revised)
   for 2.3.2. _Hypothetically_, you _*should*_ be able to upload only new versions
   of these files. I would **definitely back up my entire WordPress installation**
   before attempting this though or **better yet** set up a test installation in
   a sub domain, install version 2.3.1, then overwrite all [revised files](http://codex.wordpress.org/Version_2.3.2#List_of_Files_Revised)
   from the 2.3.2 distribution.
 * For the future, try using wordpress actions and filters instead of modifying 
   the core files. You can find out info about them in the [Plugin API](http://codex.wordpress.org/Plugin_API)
   I know that a lot of the time, modifying the core is faster and easier, but when
   it comes time to upgrade, all of that _saved time_ is spent comparing the core
   files that you edited with the new versions – sometimes they can change dramatically
   or even become depreciated.
 * If you cannot find an action or filter hook where you need it, one trick that
   I use is to copy the function verbatim from core into my theme’s functions.php
   file, rename it and add the functionality that I need.
 *  Thread Starter [Matt Blank](https://wordpress.org/support/users/mattblank/)
 * (@mattblank)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/will-upgrade-kill-my-postphp/#post-672526)
 * Thanks for the quick reply Michael.
 * Hopefully I’ll remember which files I’ve changed and do what you suggest!!
 * If it was to be the case that they update a file I’ve customised, is it just 
   a case of going through it and changing it again afterwards?
 * Also, where can I see a list of which files have been updated in the latest version?
 * Finally, would you suggest I use this plugin:
    [http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/](http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/)
 * Many thanks!
    Matt
 *  Thread Starter [Matt Blank](https://wordpress.org/support/users/mattblank/)
 * (@mattblank)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/will-upgrade-kill-my-postphp/#post-672528)
 * Hi mfields, thanks for your reply to!
 * So based on that page you linked, if I download and JUST upload the below files,
   then the update will be done?
    wp-admin\admin.php wp-admin\includes\file.php 
   wp-admin\install.php wp-admin\setup-config.php wp-app.php wp-content\plugins\
   akismet\akismet.php wp-includes\formatting.php wp-includes\functions.php wp-includes\
   pluggable.php wp-includes\post.php wp-includes\query.php wp-includes\taxonomy.
   php wp-includes\version.php wp-includes\wp-db.php wp-mail.php wp-settings.php
   xmlrpc.php
 * As it’s not a massive amount of files, this seems to potentially be the fastest
   option!
 * Thanks!
    Matt
 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/will-upgrade-kill-my-postphp/#post-672530)
 * Hypothetically, yes. Please though – follow the instructions here: [Upgrading WordPress Extended](http://codex.wordpress.org/Upgrading_WordPress_Extended)
   like Michael Suggested. Only do not “Delete the old WordPress files” like suggested
   in #7 because this would kill you custom code. And in Step #8 instead of uploading
   the entire WordPress core, only upload the files on the list – overwriting the
   ones on your server.
 * After upgrading, I would make it a point to move all of the custom functionality
   from the core to plugins or `functions.php`. Next upgrade might not be as easy.
 *  Thread Starter [Matt Blank](https://wordpress.org/support/users/mattblank/)
 * (@mattblank)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/will-upgrade-kill-my-postphp/#post-672548)
 * I updated just the files that they listed and everything seems to be working 
   fine!
 * Many thanks for you help….stress over :o)
 * Matt

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

The topic ‘Will Upgrade ‘Kill’ My post.php??’ is closed to new replies.

## Tags

 * [upgrading](https://wordpress.org/support/topic-tag/upgrading/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 3 participants
 * Last reply from: [Matt Blank](https://wordpress.org/support/users/mattblank/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/will-upgrade-kill-my-postphp/#post-672548)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
