• Ajay

    (@ajay)


    I tried searching, but haven’t found a specific answer.
    How do I disable HTML in Comments, but keep it enabled in my posts.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Nick Momrik

    (@mtdewvirus)

    I found this in the Wiki…not sure if there is something newer…
    http://wiki.ww.wp.xz.cn/index.php/OverrideAllowedTags

    Thread Starter Ajay

    (@ajay)

    Sorry for such a late reply. I am using v1.02
    You know me Lilandra?
    MTDew, I’m exactly sure how to go about the hacking.

    Thread Starter Ajay

    (@ajay)

    I will be shifting to 1.2 soon. I assume it is the final. So could you explain how I disable comment HTML there?

    Ocean

    (@ocean)

    I came here looking for the same answer. I wish to disable html in comments because I don’t want some joker posting lame stuff that screws up my site. 🙂

    logoleptic

    (@logoleptic)

    Same here. Looking to disable deprecated tags such as <strike>.

    skippy

    (@skippy)

    Take a look in wp-includes/kses.php for the complete list of allowed tags. Comment out any or all that you want to suppress.

    Anonymous

    Excellent! Thank you.

    logoleptic

    (@logoleptic)

    That was me with the thank-you, skippy.
    I think it’s amazing that I don’t even have to update my template to change the list of allowed HTML. It happens for me! WordPress rocks! 😀

    No, but you have to edit a core program file which is not optimal. Should be in the admin back-end as an option.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Disable HTML in Comments’ is closed to new replies.