[wp-trac] [WordPress Trac] #29918: Allow script localization to be set on wp_register_script
WordPress Trac
noreply at wordpress.org
Fri Oct 10 11:53:34 UTC 2014
#29918: Allow script localization to be set on wp_register_script
---------------------------+------------------------------
Reporter: jadpm | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 4.0
Severity: normal | Resolution: invalid
Keywords: | Focuses:
---------------------------+------------------------------
Changes (by jadpm):
* status: new => closed
* resolution: => invalid
Comment:
I was under the wrong impression that you needed to enqueue the script to
be able to localize it, but I see it is enough to have it registered. My
bad. Closing as invalid.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29918#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list