[wp-trac] [WordPress Trac] #28029: data-attributes (and css) removed for users with Author role

WordPress Trac noreply at wordpress.org
Fri Apr 25 16:17:06 UTC 2014

#28029: data-attributes (and css) removed for users with Author role
 Reporter:  yurig         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.7
 Severity:  normal        |   Keywords:
  Focuses:                |
 When using the standard WordPress editor (TinyMCE) the HTML data-
 attributes are removed from the HTML upon saving when the user role is
 data-attributes are instead preserved when the user role is Administrator.

 Some css style properties are also removed from inline style attributes,
 like for example 'position', 'left', 'top'. Again, they are preserved for

 data-attributes and css styles are not removed when switching between
 Visual and Text modes in the editor, but only when publishing the

 First version tested with the problem is WordPress 3.7, still existing in

Ticket URL: <https://core.trac.wordpress.org/ticket/28029>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list