WordPress Quirk

WordPress still has some odd little quirks for a mature product. For example, they still have their own code inside /wp-includes/theme-compat/comments.php to alter the look and feel of your comment section.

It can be edited of course, in fact they have a comment inside that code encouraging you to do just that <!-- You can start editing here. -->. But upon each WP update, that file is clobbered with the default and all your changes are gone. So that's fun.

I don't want to have to remember to copy my version back so I just have a cronjob check if the file has changed and it all gets fixed up 🤷🏻‍♂️

more: ,
  1. martymankins says:

    It has been a long time since I have run into making changes to code and then having an update wipe it with the default. Good to know on this one.

    • kevin says:

      Security updates are usually ok. But when I manually upgraded from `6.4.x` to `6.5` all my changes got clobbered.