[wp-trac] [WordPress Trac] #18788: Remove redundant type attributes from script and style tags

WordPress Trac noreply at wordpress.org
Wed Mar 2 00:15:19 UTC 2016


#18788: Remove redundant type attributes from script and style tags
---------------------------------+-----------------------------
 Reporter:  solarissmoke         |       Owner:  wonderboymusic
     Type:  enhancement          |      Status:  closed
 Priority:  normal               |   Milestone:  4.2
Component:  Script Loader        |     Version:  3.3
 Severity:  normal               |  Resolution:  fixed
 Keywords:  3.4-early has-patch  |     Focuses:  administration
---------------------------------+-----------------------------

Comment (by sephr):

 To clarify, all of the wp-admin/ changes are fine. This only broke XHTML
 support when @solarissmoke added wp-includes/.

 wp-includes is not limited to the admin interface, and throughout this
 issue it seems like the intention was only to remove CDATA in the admin
 interface.

 Issue description: "Now that the '''admin''' is..."

 @wonderboymusic's comment "Inline <script>s that are only printed in the
 '''admin''' for pages..."

 The first patch should have been accepted, but not the second one.

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


More information about the wp-trac mailing list