Opened 6 years ago
Closed 6 years ago
#44551 closed defect (bug) (fixed)
Inline scripts should be printed for sourceless scripts
Reported by: | bpayton | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.0 | Priority: | normal |
Severity: | normal | Version: | 4.9.7 |
Component: | Script Loader | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
Today, inline scripts aren't printed for sourceless scripts, but inline styles are 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.
Attachments (1)
Change History (9)
This ticket was mentioned in Slack in #core by bpayton. View the logs.
6 years ago
#3
@
6 years ago
- Milestone changed from Awaiting Review to 4.9.9
- Owner set to SergeyBiryukov
- Status changed from new to reviewing
Note: See
TracTickets for help on using
tickets.
fix and unit tests