[wp-trac] [WordPress Trac] #23479: tiny_mce_before_init filter is not fired for users with Author role
WordPress Trac
noreply at wordpress.org
Fri Feb 15 17:56:41 UTC 2013
#23479: tiny_mce_before_init filter is not fired for users with Author role
-------------------------------+------------------------------
Reporter: paulmackinlay | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.5.1
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Changes (by helen):
* keywords: => reporter-feedback
Comment:
Is it that it doesn't work when switching between editor modes or is it
that something like an iframe gets stripped out upon saving/publishing as
a non-admin? Some tags are going to get stripped out for some user roles,
which is done on a PHP/server-side level. One can't rely on just the
front-end to do that kind of data sanitization.
Also, I don't see TinyMCE stripping iframes or embeds when switching
between modes in trunk, anyway, whether I'm logged in as a (super)admin or
an author.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23479#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list