Filter html if user does not have unfiltered_html capability
-
https://github.com/copyblogger/genesis-simple-hooks/pull/3
I just made this change which filters the hook content if the user is not permitted to enter unfiltered_html. This will also remove <?php ?> tags as well. This is a more proper way of how WordPress uses capabilities when on multisite.
- The topic ‘Filter html if user does not have unfiltered_html capability’ is closed to new replies.