[wp-trac] [WordPress Trac] #35953: WordPress mess up my posts and pages when im putting html and scripts in it

WordPress Trac noreply at wordpress.org
Sat Mar 12 17:58:36 UTC 2016


#35953: WordPress mess up my posts and pages when im putting html and scripts in it
--------------------------+----------------------
 Reporter:  rigpa1        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  4.4.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:  close         |     Focuses:
--------------------------+----------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Support for `on*` attributes (onMouseOver, onClick, etc.) was removed
 couple of years ago as they are unsafe. Also, that HTML seems very very
 outdated. Most of the `<td>` attributes are not used any more. The Visual
 Editor supports HTML 5.0 but leaves legacy code in place, for now.

 As ocean90 said above, if you must use that HTML, only use the Text
 editor. It is not supported in the Visual editor.

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


More information about the wp-trac mailing list