WordPress.org

Ready to get started?Download WordPress

Forums

User Role Editor
Please undeprecate unfiltered_html (5 posts)

  1. Waltteri Turunen
    Member
    Posted 8 months ago #

    Hi,

    I've been working with multiple Multisite-installations where Authors need to embed Office docs from Skydrive using <iframe>s. This can't be done without giving 'unfiltered_html' cap to Authors.

    Now that you have deprecated said capability, it makes my life a little bit harder. I also use the Unfiltered MU plugin, but that doesn't cover Authors.

    So please, undeprecate 'unfiltered_html' cap.

    http://wordpress.org/plugins/user-role-editor/

  2. Waltteri Turunen
    Member
    Posted 8 months ago #

    I'm sorry, it seems that I can set the deprecated abilities to be shown by default from User Role Editor's network settings. So that helps.

    Anyway, I don't know how this 'unfiltered_html' cap is deprecated when it clearly is needed.

  3. Vladimir Garagulya
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

    Moving 'unfiltered_html' to 'deprecated' list for multisite, I just followed to the WP core code, where it is blocked, even if user has it.

    Turning it on should not take effect. More details are here
    http://shinephp.com/is-unfiltered_html-capability-deprecated/

    Regards,
    Vladimir.

  4. Waltteri Turunen
    Member
    Posted 8 months ago #

    I understand your reasons, Vladimir, and I have read the link. I haven't had the time to take a look at the code but I know (and you can test) that the cap does take effect.

    Eg. without the cap, authors <iframe> tags got filtered out. With the cap, the tags stayed.

  5. Vladimir Garagulya
    Member
    Plugin Author

    Posted 8 months ago #

    OK. I will re-check this. May be something was changed from that time.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.