[wp-trac] [WordPress Trac] #44551: Inline scripts should be printed for sourceless scripts

WordPress Trac noreply at wordpress.org
Mon Jul 9 20:58:00 UTC 2018


#44551: Inline scripts should be printed for sourceless scripts
---------------------------+-----------------------------
 Reporter:  bpayton        |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Script Loader  |    Version:  4.9.7
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Today, inline scripts aren't printed for sourceless scripts, but inline
 styles //are// [https://core.trac.wordpress.org/ticket/35229#comment:16
 printed for sourceless styles].

 It would be helpful to fix this for inline scripts.

 This issue came up while exploring an approach to loading polyfills
 (feature tests + implementations) for Gutenberg.

 I have a patch with unit tests and will post momentarily.

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


More information about the wp-trac mailing list