[wp-trac] [WordPress Trac] #11939: Make Script Elements HTML4 and XHTML compilant

WordPress Trac wp-trac at lists.automattic.com
Sat May 15 21:30:48 UTC 2010


#11939: Make Script Elements HTML4 and XHTML compilant
-----------------------------+----------------------------------------------
 Reporter:  hakre            |       Owner:                
     Type:  feature request  |      Status:  new           
 Priority:  low              |   Milestone:  Future Release
Component:  Validation       |     Version:  3.0           
 Severity:  normal           |    Keywords:  has-patch     
-----------------------------+----------------------------------------------
Changes (by azaozz):

  * priority:  normal => low
  * type:  defect (bug) => feature request
  * milestone:  3.0 => Future Release


Comment:

 This is mostly a theoretical situation. I don't see what is fixed here.

 WordPress admin is served with `XHTML 1.0 Transitional` doctype. Don't
 think there are any browsers currently in use that don't understand this
 doctype and would parse it as HTML 4 for example (and if there are any I
 think they would have much bigger problems than inline JS escaping).

 Don't see why we should be adding additional escaping for doctypes we
 don't support in the first place. That would use a little bit of memory
 and would increase the overall size a little and we already have problems
 there.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11939#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list