Forums

Newbie question: How do I make wordpress use htmlentities function? (2 posts)

  1. 5u4r3z
    Member
    Posted 4 years ago #

    Hi, I need to make my wordpress blog to store the posts and comments with xhtml tags in my database. Currently, they are being stored with no "filter" applied.

    Can somebody help me?

  2. Otto
    Tech Ninja
    Posted 4 years ago #

    WordPress does filter the posts and comments. It just doesn't filter YOUR posts and comments.

    The Admin user gets a capability called "unfiltered-html" which means that his stuff doesn't get filtered.

    Everybody else's stuff gets filtered by the kses code, which is quite robust.

Topic Closed

This topic has been closed to new replies.

About this Topic