…Or maybe that’s every week’s project. How old does code have to be before it’s old code? I digress.
This week was “slow” in that there were no fires to put out, and no big to-do’s due any time soon. That means that instead of working on what needs to be done right away, I was able to dig into some projects that were on the back burner. Those kinds of projects are almost always “find out what’s wrong with this custom plugin we wrote 3 years ago,” and it’s often an hour or two before I really even know what I’m looking at!
Well this week’s old code is an old plugin that was written to keep an even older plugin working after its original developers left it for dead! After looking for a way to integrate another feature into it (one that’s already working for the rest of WordPress and would help us keep missionaries safer), I finally got the go-ahead to “Gracefully discontinue” the plugin. YES! Goodbye old code! And how will I accomplish this graceful transition but to write a sparkly new migration script to make sure that all the stuff people used the old plugin for are “gracefully” transitioned to the new way of doing it through WordPress directly.