The MU forums have moved to WordPress.org

Broken HTML-Code in Text-Widget (4 posts)

  1. kre8tiv
    Member
    Posted 13 years ago #

    Since Version 2.8.1 all users except the global admin aren't allowed to put html-code in a text-widget. For example, wordpress changes
    <img src="http://imgurl.com/img.jpg" />
    to
    <img src=\"http://imgurl.com/img.jpg\" />
    Same with links!

    There was no Problem in Version 2.7.1 to put simple html-code in a text-widget. Is there a security-option I can modify?

  2. amanzi
    Member
    Posted 13 years ago #

    I've just noticed this too after one of the bloggers on my site complained about it. I haven't managed to track down what's causing it yet - has anyone else encountered this?

  3. parkstreet
    Member
    Posted 13 years ago #

    Don't know where you can go to add something like this:
    <?php echo(stripslashes($example)); ?>

    but you can enter in the info without the quotations and it will save correctly to the database.

  4. DeannaS
    Member
    Posted 13 years ago #

About this Topic