[wp-trac] [WordPress Trac] #18245: Make the visual editor KSES filter/user capabilities aware

WordPress Trac noreply at wordpress.org
Fri Oct 10 18:55:22 UTC 2014


#18245: Make the visual editor KSES filter/user capabilities aware
-------------------------------+-------------------------
 Reporter:  azaozz             |       Owner:
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Editor             |     Version:
 Severity:  normal             |  Resolution:  maybelater
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-------------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  Future Release =>


Comment:

 It is possible to do even better/easier in TinyMCE 4.0. We can set the
 allowed_elements without worrying that some internals would break.

 However the usefulness of this is quite limited. Kses was fixed/expanded
 several times since this ticket. Generally by default the users cannot add
 "forbidden" tags and attributes, so this would apply only for plugins that
 extend the editor and only in certain cases. Also, we cannot stop the
 users adding arbitrary content in the Text editor.

 Thinking this is something we can revisit in the future if a need arises.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18245#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list