Opened 11 years ago
Closed 11 years ago
#32660 closed defect (bug) (fixed)
'style_loader_tag' should receive a `$src` parameter
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.3 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Script Loader | Keywords: | good-first-bug has-patch |
| Focuses: | Cc: |
Description
The 'script_loader_tag' gets three arguments: $tag (the markup), $handle, and $src (the asset URL). 'style_loader_tag' only gets the first two of these. It should get $src as well. Patches should update the docs as required - and make sure you catch all instances of 'style_loader_tag'.
See [30403].
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch that's add the $src attribute.