[wp-trac] [WordPress Trac] #35264: wp_enqueue_script does not allow different types
WordPress Trac
noreply at wordpress.org
Wed Dec 30 11:15:49 UTC 2015
#35264: wp_enqueue_script does not allow different types
---------------------------+------------------------------
Reporter: mampf | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by swissspidy):
Why do you want to use `wp_enqueue_script()` for this? AFAIK json-Id data
needs to be inline, while `wp_enqueue_script()` is specifically for
external JavaScript.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35264#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list