Make WordPress Core

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)

#1 @johnbillion
11 years ago

  • Component ThemesScript Loader
  • Keywords 2nd-opinion added
  • Type enhancementfeature request

#2 @ericlewis
11 years ago

  • Keywords close added; 2nd-opinion removed

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 the wp_head hook.

#4 @ocean90
10 years ago

  • Keywords close removed
  • Milestone Awaiting Review
  • Resolutionmaybelater
  • Status newclosed
Note: See TracTickets for help on using tickets.