WordPress.org

Ready to get started?Download WordPress

Forums

TRUEedit
[resolved] Removing wpautop doesn't work for non Administrators (3 posts)

  1. derekgreer
    Member
    Posted 3 years ago #

    I found your plugin hoping it would solve my wpautop issues. I'm administering a WP multisite and have tried several techniques to remove the wpautop filter for everyone, but I've only been able to disable it for Super Admin users.

    I've installed TRUEedit hoping it would fix the issue, but it seems to have the exact same issue. I logged in as a normal user on my site and it still strips away class attributes on pre tags.

    http://wordpress.org/extend/plugins/trueedit/

  2. macguru2000
    Member
    Plugin Author

    Posted 3 years ago #

    Hi derekgreer,

    Thanks for pointing out your frustrations with WordPress' HTML editor. What you are experiencing is completely accurate, and is actually considered a "security" feature from the WordPress development team's perspective.

    TRUEedit currently only lets you configure the frontend content filters, such as wpautop. The filter that removes most HTML tags from non super admin (non admins in single site wp) is not a frontend filter.

    Also you should keep in mind that even if I fixed your issue with the editor stripping out HTML code, the XML export and other features of WordPress will continue to strip out your custom HTML code. Basically, if you want someone to write full blown HTML they need to be an Admin.

    With past clients I have used other plugins, such as Viper Video instead of copy and pasting HTML embed tags for YouTube videos. Perhaps you may rework your CSS so the preformatted tags do not a specific class? In other words, you might try looking for other way to implement what you need.

    I can feel your frustration, and when I get some time I will look into adding a feature into TRUEedit that will allow for full HTML editing capabilities for specific users. It might be edits to numerous different hooks and actions, so I am unsure what the scope of a feature like that will be.

    Cheers and thanks for your interest in TRUEedit.

  3. huyz
    Member
    Posted 3 years ago #

    Great info!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags