[wp-trac] [WordPress Trac] #24197: wp_localize_script() doesn't work for jquery handle
WordPress Trac
noreply at wordpress.org
Sat Jun 29 22:30:09 UTC 2013
#24197: wp_localize_script() doesn't work for jquery handle
--------------------------+--------------------
Reporter: IcyPixels | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: General | Version: trunk
Severity: major | Resolution:
Keywords: dev-feedback |
--------------------------+--------------------
Comment (by azaozz):
> Any results?
Yeah, we will need another loop through all handles right before
printing/outputting them. That extra loop will slow this down.
This can be in `print_scripts()` in class.wp-scripts.php or in wp-
dependencies.php so it works when adding styles too. The main logic is in
24197.patch and can probably be cleaned up a bit.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24197#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list