Opened 11 years ago
Closed 10 years ago
#35389 closed feature request (maybelater)
HTML Imports
| Reported by: | extendwings | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Script Loader | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Currently, WordPress supports enqueuing scripts (wp_enqueue_script()) and styles (wp_enqueue_style()).
I'd like to propose a new type of queue, HTML Imports (wp_enqueue_document() or something).
(HTML Imports is one of the important part of Web Components.)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It's early in the standards process to consider adding a top-level API function in WordPress for this, see HTML imports browser support.
This doesn't block someone from experimenting with HTML imports. You could drop the
<link rel="import">tag in via thewp_headhook.