Support » Plugins » How to cope code changes with WP updates

  • Resolved Blutarsky


    I’d like to change the behaviour of WP using the MORE tag (no tag scrolling), but this needs to modify the WP code.
    Is there an efficient way to track changes in a way they won’t be lost on WP updates?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I document my hacks in a simple text file noting the files I’ve hacked. Then each time I do a hack in the core code, I comment it by entering my name…something like <!– changed by figaro –>

    Then each time I upgrade, I use winmerge to compare the new code with my existing code and incorporate my hacks into the new code.

    Not sure if that fits with your definition of efficient or not, but it works well for me.

    Another possibility…years ago, I used the my-hacks.php file for my hacks. I See there is still a setting in Settings/Misc to use the my-hacks.php file, but I haven’t used it in years…not sure how well this still works, but here is some very old documentation on it.

    Thanks, I will use your strategy!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to cope code changes with WP updates’ is closed to new replies.