Hi Dave —
I’m going over the Spam Karma code and very puzzled by something I keep seeing. There are a lot of places where you do strange things with variables, such as using them and THEN setting a value — which of course doesn’t work. Running full debug/error logging in WP sends out tons of errors on this type of thing.
Example: $comment_sk_info
See recent commits in GitHub. In places I’m quick-fixing the error messages, but perhaps harming function (but at worst I believe I’m only temporarily turning off code that isn’t working anyway…?)
http://github.com/strider72/spam-karma/
Are these supposed to be globals perhaps? I’m having difficulty tracking the logic of the overall plugin sometimes — definitely the biggest refactor I’ve ever taken on!
If you have time I’d love to pick your brain — perhaps even in a chat?
FYI — There were links here and there to
spamkarma.com, but the domain was unregistered; so I registered it. Now points to the GitHub project.
Thanks,