WordPress.org

Ready to get started?Download WordPress

Forums

Managing hacked core files when WP upgrades (4 posts)

  1. snowcrash
    Member
    Posted 7 years ago #

    Hello

    Like some of you, I've done a few hacks to some WP core files (e.g. to simplify the posting page for my Authors).

    The issue is that everytime there's a WP upgrade, I have to re-do the hacks.

    I'm aware that it's possible to download the changed files for each upgrade. But is there an easier way to compare files directly and make the file changes without, say shell access on a server.

    Just wondering how other people maintain there hacks when there's a WP upgrade, and what's the easiest & efficient way to do this

    thanks

  2. whooami
    Member
    Posted 7 years ago #

    theres a windows tool for comparing files that I highly reccommend, Beyond Compare. You can pick that up here:

    http://www.scootersoftware.com

    Assuming you know what files you have made changes to, and of course, that were not talking about every file, its not too difficult to keep up.

  3. Dickie
    Member
    Posted 7 years ago #

    Just a note for the future... there is very little you can do by hacking that you can't do with a plugin... and plugins do not "generally" cause problems with upgrades.

  4. snowcrash
    Member
    Posted 7 years ago #

    I do understand that hacking generally should be done as a last resort and plugins are by default preferred. But sometimes one has to hack...Err maybe I need to learn how to write plugins

    Thanks whooami for file compare tip. I found this opensource/free one which looks good too: http://winmerge.org/

Topic Closed

This topic has been closed to new replies.

About this Topic