Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you talking about inside the comments?

    Thread Starter nhant

    (@nhant)

    both, when someone post news/thread, and someone post the comments.

    they allow html …. anyway I can disable it?

    For posts:
    Follow the instructions found on NuclearMoose’s link and then create a file called my-hacks.php in your WordPress directory and put the following code into it.

    <?php
    add_filter('format_to_post','wp_filter_kses');
    ?>

    Make sure it is only those three lines. You will then need to enable “legacy my-hacks.php support” by checking the checkbox near the bottom of Options -> Miscellaneous.

    Note: this method allows the same set of HTML tags for both comments and posts. If you want different tags available for posts than for comments, well… it’s significantly harder.

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

The topic ‘disable html in write/post?’ is closed to new replies.