Pasting Ad code as a non-super admin


I am not sure if this is a new thing but pasting in AdSense code does not appear to be working for non-super administrator.

Super administrator it works fine as with a text box. But regular administrators it doesn’t seem to work.

Any thoughs?

I am on 3.0.5

  • Barry
    • DEV MAN’s Mascot

    It’s looking for the “unfiltered_html” capability to allow code in the widget that kses doesn’t remove. There is an unfiltered_html plugin available on i think (can’t find link at the mo) that adds this capability – or you could use the role manager plugin to add that capability to the user account you want to

  • jozwikjp
    • The Incredible Code Injector

    Thanks, I will check it out.

    I did some further research on the issue and it was a eye opener.

    On the security implications of allowing users to insert their own JavaScript in relation to session cookie hijacking. Sounds kinda scary.

    I may try the unfiltered html plugin on a per user basis.

    Thank you.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.