The MU forums have moved to WordPress.org

A form in a Widget (3 posts)

  1. miura465
    Member
    Posted 16 years ago #

    I placed forms in text widgets with no problem on my wordpress install, but now that i am using MU when i place a form in a text widget and save it, when i reopen the text widget all of the form html is removed. i.e. there is no <form> or <input> or anything to make the form work, only the text and basic <tr> and <td> i have no clue what is causing this. any ideas?

  2. tene
    Member
    Posted 16 years ago #

    It is wpmu filtering for security reasons: Code has gone from my widget.

    Allowed tags.

  3. drmike
    Member
    Posted 16 years ago #

    Forms are a security risk. You can take a look at the kses.php file and see what's allowed.

    if you feel comfortable with them, feel free to add that code in there.

    But we did warn you. :)

About this Topic