I laughed at this "Think about what you did" - I've been a bad WordPress dev :(
No mention of backups, but that can at least save you from some of the freak out - assuming your site isn't changing more frequently then your backup scheme.
Daily backups are nice, but the problem might not be detected immediately - so snapshots (week, month, 6 month) are advisable.