define('DISABLE_WP_CRON', 'true'); Spam Karma 2 Plugins XHTML Fixes - HTNet

Spam Karma 2 Plugins XHTML Fixes

I recently discovered that my post pages were suddenly not XHTML Strict compliant. After some troubleshooting, I discovered that the culprits were two Spam Karma 2 plugins that were bundled with the package. They are the Javascript Payload and Encrypted Payload plugins.

I’ve made minor changes to these plugins’ files and they are available for download in plain text format below. They should go to /<your WP installation dir>/wp-contents/plugins/SK2/sk2_plugins/. The easiest way to replace the original file with the ones below, and changing their extension from txt to php.

If you love to complicate things, then generate some diffs and patch the originals 😛

UPDATE (14 Feb 2006): Links above are for 2.2 Final.

12 responses to “Spam Karma 2 Plugins XHTML Fixes”.

  1. Edrei Says:

    I have never had any XHTML problems using SK2 right now and I don’t know anyone else that has the same problems with the validation.

  2. Site Admin Azmeen Says:


    Sorry I wasn’t more clearer, I’m using the XHTML Strict DTD… and the two plugins’ output are definitely not XHTML Strict.

    Another thing is that assuming that what you’ve posted is about your blog, then I have to point out that it doesn’t validate even as XHTML Transitional… although the SK2 plugins won’t trigger any errors on your site because you’re not using XHTML Strict like I do.

    Thanks for the feedback.

  3. Edrei Says:

    SK2 plugins won’t trigger the XHTML transitional errors. That’s as far as I know. I still need to work out the bugs in my template, but nothing to do with SK2.

  4. Bangla Music Says:

    tnx for the work 🙂

  5. Pozycjonowanie Says:

    Someone else below asked this already about antispam scripts.
    I am getting nailed with Spam on my website mails and in our blog website – now its offline too

    much spam. Is there anyway to stop this? If not, there really isn’t any point in leaving it up

    and active. Any help will be greatly appreciated.

    Thanks for help, Keep up the good work. Greetings from Poland

  6. Andy H. Says:

    Im using SpamKarma2 too for my wordpress blogs, it is doing the spam spreventing job way better than akismet.

  7. bilard Says:

    Good idea! Best regards

  8. kral oyun Says:

    It’s very good article Thanks

  9. kral oyun Says:

    Thanks for the article

  10. przepisy kulinarne Says:

    Thank you for this article, I appreciate it even more because it is not so common to find those kind of things on the net. Thnx!

  11. oyun Says:

    thanks very good

  12. Szkolenia BHP Warszawa Says:

    Keep up the good work. Greetings